ECE 877-J Discrete Event Systems 224 McKinley Hall.

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Language and Automata Theory
CS 367: Model-Based Reasoning Lecture 2 (01/15/2002)
Supervisory Control of Hybrid Systems Written by X. D. Koutsoukos et al. Presented by Wu, Jian 04/16/2002.
Modeling & Simulation. System Models and Simulation Framework for Modeling and Simulation The framework defines the entities and their Relationships that.
Markov Chains.
Diagnosis of Discrete Event Systems Meir Kalech Partly based on slides of Gautam Biswass.
1 Languages. 2 A language is a set of strings String: A sequence of letters Examples: “cat”, “dog”, “house”, … Defined over an alphabet: Languages.
TCOM 501: Networking Theory & Fundamentals
1 Part III Markov Chains & Queueing Systems 10.Discrete-Time Markov Chains 11.Stationary Distributions & Limiting Probabilities 12.State Classification.
Al-Imam Mohammad Ibn Saud University
Introduction to stochastic process
CS5371 Theory of Computation
Classification of Simulation Models
048866: Packet Switch Architectures Dr. Isaac Keslassy Electrical Engineering, Technion Review.
1 CSCI-2400 Models of Computation. 2 Computation CPU memory.
1 Languages and Finite Automata or how to talk to machines...
Causal-State Splitting Reconstruction Ziba Rostamian CS 590 – Winter 2008.
CS5371 Theory of Computation Lecture 4: Automata Theory II (DFA = NFA, Regular Language)
1 Classification of Switching Signals 2 Operation on Switching Signals 3 Well-defined ness and Well-posed ness 4 Switching Sequences 5 Solution of.
1 TCOM 501: Networking Theory & Fundamentals Lectures 9 & 10 M/G/1 Queue Prof. Yannis A. Korilis.
Topics Automata Theory Grammars and Languages Complexities
CSE 221: Probabilistic Analysis of Computer Systems Topics covered: Discrete time Markov chains (Sec. 7.1)
Lab 01 Fundamentals SE 405 Discrete Event Simulation
Lecture 11 – Stochastic Processes
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Definition of a System Examples Causality Linearity Time Invariance.
MAKING COMPLEX DEClSlONS
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
ECES 741: Stochastic Decision & Control Processes – Chapter 1: The DP Algorithm 1 Chapter 1: The DP Algorithm To do:  sequential decision-making  state.
Generalized Semi-Markov Processes (GSMP)
Automata. Summary Deterministic Automata  Languages Stochastic Automata Other Automata Formalisms  Automata with input and output Protocol Representation.
Theory of Probability Statistics for Business and Economics.
Theory of Languages and Automata
Introduction Random Process. Where do we start from? Undergraduate Graduate Probability course Our main course Review and Additional course If we have.
CSC312 Automata Theory Lecture # 2 Languages.
Markov Decision Processes1 Definitions; Stationary policies; Value improvement algorithm, Policy improvement algorithm, and linear programming for discounted.
1 Elements of Queuing Theory The queuing model –Core components; –Notation; –Parameters and performance measures –Characteristics; Markov Process –Discrete-time.
1 Chapter 1 Fundamental Concepts. 2 signalpattern of variation of a physical quantity,A signal is a pattern of variation of a physical quantity, often.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Definition of a System Examples Causality Linearity Time Invariance Resources:
Generalized Semi- Markov Processes (GSMP). Summary Some Definitions The Poisson Process Properties of the Poisson Process  Interarrival times  Memoryless.
Markov Chains X(t) is a Markov Process if, for arbitrary times t1 < t2 < < tk < tk+1 If X(t) is discrete-valued If X(t) is continuous-valued i.e.
CS433 Modeling and Simulation Lecture 06 – Part 02 Discrete Markov Chains Dr. Anis Koubâa 11 Nov 2008 Al-Imam Mohammad.
Chapter 2 Fundamental Simulation Concepts
Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.
Probability Definition : The probability of a given event is an expression of likelihood of occurrence of an event.A probability isa number which ranges.
Overview of Previous Lesson(s) Over View  Symbol tables are data structures that are used by compilers to hold information about source-program constructs.
CDA6530: Performance Models of Computers and Networks Chapter 3: Review of Practical Stochastic Processes.
Lecture #2 How to describe a hybrid system? Formal models for hybrid system João P. Hespanha University of California at Santa Barbara Hybrid Control and.
Introduction to discrete event systems
Queuing Theory.  Queuing Theory deals with systems of the following type:  Typically we are interested in how much queuing occurs or in the delays at.
Presentation.  Julius Richard Büchi (1924–1984)  Swiss logician and mathematician.  He received his Dr. sc. nat. in 1950 at the ETH Zürich  Purdue.
Introduction The objective of simulation – Analysis the system (Model) Analytically the model – a description of some system intended to predict the behavior.
CS 367: Model-Based Reasoning Lecture 7 (02/05/2002) Gautam Biswas.
Simulation Examples And General Principles Part 2
Chapter 1 INTRODUCTION TO THE THEORY OF COMPUTATION.
Fall 2004COMP 3351 Finite Automata. Fall 2004COMP 3352 Finite Automaton Input String Output String Finite Automaton.
Lecture Three: Finite Automata Finite Automata, Lecture 3, slide 1 Amjad Ali.
Languages.
Probability.
Simulation Examples STOCHASTIC PROCESSES.
Language and Automata Theory
Lecture on Markov Chain
THEORY OF COMPUTATION Lecture One: Automata Theory Automata Theory.
High-Level Abstraction of Concurrent Finite Automata
Probability, Statistics
September 1, 2010 Dr. Itamar Arel College of Engineering
MECH 3550 : Simulation & Visualization
Performance evaluation of manufacturing systems
Lecture 11 – Stochastic Processes
Presentation transcript:

ECE 877-J Discrete Event Systems 224 McKinley Hall

Class Objectives Theory Concepts Definitions Terminology Applications New Ideas

Education Sharing Dialog Customized to meet the needs of 1) our program You 2) our industrial sponsors

System Set of objects that interact with each other to perform a given task

System Classification Linear or nonlinear Continuous-time or discrete-time Time-invariant or time-varying Deterministic or stochastic Centralized or decentralized Large-scale or reduced-order

Signals Time functions that are used to operate a system Examples: Current Voltage Force Torque

Signal Classification Continuous or discrete Deterministic or random (stochastic) Periodic or non-periodic

Alternate Classification of Systems Signal-driven vs. Event-driven Signal-driven: Continuous-Variable Dynamic Systems (CVDS) Event-driven: Discrete Event Dynamic Systems, a.k.a. Discrete Event Systems (DES)

DES State space is a discrete set State transition mechanism is event-driven

Queueing System Customer Server Queue

An Example

Computer System Arrival from outside Departure from CPU to outside Departure from CPU to disk Return from disk to CPU

An Example

System Engineering Modeling Analysis Design

Modeling Signal-driven: Differential equations, Transfer function (linear, nonlinear, time- invariant, time varying, coupled, high- order, …) Event-driven: ?????????? Languages and Automata

Language Events  Alphabet String (of events) is a sequence of events Language: Given a set of events, we define a language over such set in terms of its strings

Language Mathematical Definition A language defined over an event set E is a set of finite-length strings formed from events in E

Example E = {a,b,g} L 1 = {a,abb} L 2 = {ε,a,abb} where ε denotes an empty string, i.e. a string that consists of no events.

Operations on Languages Concatenation Let L a and L b be two languages. The concatenation of L a and L b is the language L a L b. A string is in L a L b if it can be written as the concatenation of a string in L a with a string in L b.

Terminology Consider a string that consists of three events as follows: s = tuv t is called a prefix of s u is called a substring of s v is called a suffix of s

Kleene-Colsure For a set of events E, we define the Kleene-closure as the set of all finite strings of elements of E, including the empty string ε. It is denoted by E *. Example: E = {a,b,c} E * = {ε,a,b,c,aa,ab,ac,ba,bb,bc,ca,cb,cc,aaa,…} Note that E * is countably infinite

Prefix-Closure The prefix-closure of a given language A is a language that consists of all the prefixes of all the strings in the given language. The prefix-closure of A is denoted by Ā. Examples: A 1 = {g} Ā 1 = {ε,g} A 2 = {ε,a,abb} Ā 2 = {ε,a,ab,abb}

Automaton A device capable of representing a language according to well-defined rules. We define a set of states and a set of events (alphabet). The occurrence of an event results in transition from one state to another.

Automaton Mathematical Definition An automaton is defined in terms of six items as follows: G = (X,E,f,Γ,x 0,X m ) X: set of states E: set of events f: transition function Γ: X  2 E, active event function. Γ(x) is the set of all events e for which f(x,e) is defined. 2 E is the power set of E, i.e., the set of all subsets of E. x 0: initial state X m : set of marked states

An Example

Example Terminology Event set: E = {a,b,g} State set: X = {x,y,z} Initial state: x (identified by an arrow) Marked states: x, z (identified by double circles) Transition function: f

Example Transition Function f: X x E  X f(y,a) = x means the following If the automaton is in state y, then upon the occurrence of event a, the automaton will make an instantaneous transition to state x.

Example State Transition f(x,a) = x f(x,g) = z f(y,a) = x f(y,b) = y f(z,b) = z f(z,a) = f(z,g) = y

Languages Generated vs. Marked For the automaton G = (X,E,f,Γ,x 0,X m ), we define the following: L(G) is the Language generated by G all the strings, s, in E *, such that f(x 0,s) is defined. L m (G) is the Language marked by G all the strings, s, in L(G), such that f(x 0,s) belongs to the marked set X m.

Control Modeling Analysis Design Analysis Control

Supervisory Control

Control Paradigm The transition function of the automaton G = (X,E,f,Γ,x 0,X m ) is controlled by the supervisor S in the sense that, at least some of the events of G can be dynamically enabled or disabled by S.

Supervisory Control Mathematical Definition A supervisor S is a function from the language generated by the automaton G to the power set of E. Therefore, we write S: L(G)  2 E

Controllability E consists of two types of events, controllable and uncontrollable. E c : Set of controllable events that can be disabled by the supervisor E uc : Set of uncontrollable events that cannot be prevented from happening by the supervisor

Observability Furthermore, E consists of two types of events, observable and unobservable. E o : Set of observable events that can be seen by the supervisor E uo : Set of unobservable events that cannot be seen by the supervisor

Decentralized Control Interconnected Hierarchical Cooperative Competitive

Clock Structure

Clock Structure Terminology v k = t k – t k-1 The k th event is activated at t k-1. It has a lifetime v k The event is active during v k The clock ticks down during the lifetime. At t k, the clock reaches zero (the lifetime expires). At t k, the event occurs, causing a state transition.

Clock Structure Further Definitions Consider a time t within the event lifetime t k-1 ≤ t ≤ t k t divides the lifetime into two parts y k = t k - t z k = t – t k-1 y k is called the clock (residual lifetime) of the event z k is called the age of the event

Stochastic Process A stochastic (or random) process X(ω,t) is a collection of random variables indexed by t. The random variables are defined over a common probability space, and the variable t ranges over some given set.

Classification of Stochastic processes Stationary processes: stochastic behavior is always the same at any point in time. Strict-sense stationary or Wide-sense stationary. Independent processes: the random variables are all mutually independent.

Markov Chain The future is conditionally independent of the past history, given the present state. The entire past history is summarized in the present state.

Controlled Markov Chains Markov Decision Problem Cost Decision Dynamic Programming

Control of Queueing Systems Admission Problem Routing Problem Scheduling Problem

More Information Control Systems Group