Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 877-J Discrete Event Systems 224 McKinley Hall.

Similar presentations


Presentation on theme: "ECE 877-J Discrete Event Systems 224 McKinley Hall."— Presentation transcript:

1 ECE 877-J Discrete Event Systems 224 McKinley Hall

2 Class Objectives Theory Concepts Definitions Terminology Applications New Ideas

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

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

5 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

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

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

8 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)

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

10 Queueing System Customer Server Queue

11 An Example

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

13 An Example

14 System Engineering Modeling Analysis Design

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

16 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

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

18 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.

19 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.

20 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

21 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

22 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}

23 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.

24 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

25 An Example

26 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

27 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.

28 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

29 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.

30 Control Modeling Analysis Design Analysis Control

31 Supervisory Control

32 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.

33 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

34 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

35 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

36 Decentralized Control Interconnected Hierarchical Cooperative Competitive

37 Clock Structure

38 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.

39 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

40 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.

41 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.

42 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.

43 Controlled Markov Chains Markov Decision Problem Cost Decision Dynamic Programming

44 Control of Queueing Systems Admission Problem Routing Problem Scheduling Problem

45 More Information Control Systems Group www.engineering.wichita.edu/esawan/news.htm


Download ppt "ECE 877-J Discrete Event Systems 224 McKinley Hall."

Similar presentations


Ads by Google