Supervisory Control of Manufacturing Systems with Time Specifications

Similar documents
Supervisory Control of Manufacturing Systems with Time Specifications

On Supervisory Control of Concurrent Discrete-Event Systems

Supervisory Control: Advanced Theory and Applications

Decentralized Control of Discrete Event Systems with Multiple Local Specializations 1

On the Design of Adaptive Supervisors for Discrete Event Systems

Optimal Non-blocking Decentralized Supervisory Control Using G-Control Consistency

Language Stability and Stabilizability of Discrete Event Dynamical Systems 1

FORMULAS FOR CALCULATING SUPREMAL CONTROLLABLE AND NORMAL SUBLANGUAGES 1 R. D. Brandt 2,V.Garg 3,R.Kumar 3,F.Lin 2,S.I.Marcus 3, and W. M.

Bridging the Gap between Reactive Synthesis and Supervisory Control

Extending Supervisory Controller Synthesis to Deterministic Pushdown Automata Enforcing Controllability Least Restrictively

MODULAR MULTITASKING SUPERVISORY CONTROL OF COMPOSITE DISCRETE-EVENT SYSTEMS. Max H. de Queiroz*, José E. R. Cury**

MOST OF the published research on control of discreteevent

DES. 4. Petri Nets. Introduction. Different Classes of Petri Net. Petri net properties. Analysis of Petri net models

Control Synthesis of Discrete Manufacturing Systems using Timed Finite Automata

Symbolic Decentralized Supervisory Control

Supervisor Localization for Large-Scale Discrete-Event Systems under Partial Observation

Reducing the Supervisory Control of Discrete- Event Systems under Partial Observation

What Information Really Matters in Supervisor Reduction?

Symbolic Hierarchical Interface-based Supervisory Control

Hierarchical Interface-based Supervisory Control of a Flexible Manufacturing System

Feng Lin. Abstract. Inspired by thewell-known motto of Henry David Thoreau [1], that government

Timed Fault Tolerant Supervisory Control

On Controllability and Normality of Discrete Event. Dynamical Systems. Ratnesh Kumar Vijay Garg Steven I. Marcus

A Compositional Approach for Verifying Sampled-Data Supervisory Control

Relative Observability and Coobservability of Timed Discrete-Event Systems

Supervisory Control of Timed Discrete-Event Systems under Partial Observation

DECENTRALIZED DIAGNOSIS OF EVENT-DRIVEN SYSTEMS FOR SAFELY REACTING TO FAILURES. Wenbin Qiu and Ratnesh Kumar

Achieving Fault-tolerance and Safety of Discrete-event Systems through Learning

Extension based Limited Lookahead Supervision of Discrete Event Systems

Robust Supervisory Control of a Spacecraft Propulsion System

Fault Tolerant Controllability

COMPLEXITY REDUCTION IN DISCRETE EVENT SYSTEMS

Representation of Supervisory Controls using State Tree Structures, Binary Decision Diagrams, Automata, and Supervisor Reduction

Towards Decentralized Synthesis: Decomposable Sublanguage and Joint Observability Problems

Supervisory control under partial observation is an important problem

of Kentucky, Lexington, KY USA,

A Learning-based Active Fault-tolerant Control Framework of Discrete-event Systems

Formal Definition of a Finite Automaton. August 26, 2013

Masked Prioritized Synchronization for Interaction and Control of Discrete Event Systems

Real-Time Scheduling and Resource Management

Formal Definition of Computation. August 28, 2013

On Properties and State Complexity of Deterministic State-Partition Automata

EE249 - Fall 2012 Lecture 18: Overview of Concrete Contract Theories. Alberto Sangiovanni-Vincentelli Pierluigi Nuzzo

Introduction to Automata

Synthesis of Maximally Permissive Non-blocking Supervisors for Partially Observed Discrete Event Systems

Alan Bundy. Automated Reasoning LTL Model Checking

Theory of Computation

CS21 Decidability and Tractability

Approach phase Loading phase Manipulation phase Unloading phase Release phase Proximal Remote Remote Proximal make contact break contact make contact

Nondeterministic Finite Automata

Notes for Lecture Notes 2

A Polynomial Algorithm for Testing Diagnosability of Discrete Event Systems

Helsinki University of Technology Laboratory for Theoretical Computer Science Research Reports 66

State Tree Structures

Bisimulation, the Supervisory Control Problem and Strong Model Matching for Finite State Machines

Einführung in die Computerlinguistik

PSPACE-completeness of Modular Supervisory Control Problems

CMPSCI 250: Introduction to Computation. Lecture #22: From λ-nfa s to NFA s to DFA s David Mix Barrington 22 April 2013

Embedded Systems 2. REVIEW: Actor models. A system is a function that accepts an input signal and yields an output signal.

CS5371 Theory of Computation. Lecture 14: Computability V (Prove by Reduction)

Exam Computability and Complexity

Decentralized vs. Monolithic Control of Automata and Weighted Automata

A Discrete Event Systems Approach for Protocol Conversion

September 7, Formal Definition of a Nondeterministic Finite Automaton

Let us first give some intuitive idea about a state of a system and state transitions before describing finite automata.

Monitoring and Active Diagnosis for Discrete-Event Systems

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

CS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010

Optimal Supervisory Control of Probabilistic Discrete Event Systems

Theory of Computation

ESE601: Hybrid Systems. Introduction to verification

Pushdown Automata: Introduction (2)

FORMAL LANGUAGES, AUTOMATA AND COMPUTATION

CSE 135: Introduction to Theory of Computation Nondeterministic Finite Automata (cont )

Nondeterminism. September 7, Nondeterminism

Turing Machines. The Language Hierarchy. Context-Free Languages. Regular Languages. Courtesy Costas Busch - RPI 1

Lower and Upper Bound Results for Hard Problems Related to Finite Automata

CSCE 551: Chin-Tser Huang. University of South Carolina

Formal Verification Techniques. Riccardo Sisto, Politecnico di Torino

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Computation Histories

Business Process Regulatory Compliance is Hard

Computation Theory Finite Automata

Robustness Analysis of Networked Systems

Diagnosis of Dense-Time Systems using Digital-Clocks

Chapter Five: Nondeterministic Finite Automata

Chapter 6: NFA Applications

Lipschitz Robustness of Finite-state Transducers

Embedded systems specification and design

COL 352 Introduction to Automata and Theory of Computation Major Exam, Sem II , Max 80, Time 2 hr. Name Entry No. Group

Hierarchical Interface-Based Decentralized. Supervisory Control

CS:4330 Theory of Computation Spring Regular Languages. Finite Automata and Regular Expressions. Haniel Barbosa

Safety and Liveness Properties

Decision, Computation and Language

Supervisor Localization of Discrete-Event. Systems with Infinite Behavior

Examples of Regular Expressions. Finite Automata vs. Regular Expressions. Example of Using flex. Application

front pad rear pad door

Context Sensitive Grammar

Decentralized Control of Discrete Event Systems with Bounded or Unbounded Delay Communication

Computability and Complexity

Transcription:

Supervisory Control of Manufacturing Systems with Time Specifications Alexander Schaub Institute of Automatic Control Engineering Technische Universität München Joint Advanced Student School 2008

Bibliography 1. P.C.Y. Chen, W.M. Wonham. Stable supervisory control of flexible manufacturing systems with fixed supply and demand rates. Int. J. Prod. Res., 2001, Vol. 39, No.2, 347-368. 2. B.A. Brandin and W.M. Wonham. Supervisory Control of Timed Discrete-Event Systems. IEEE Transactions on Automatic Control, Vol. 39, No. 2, February 1994. 3. P.J.G. Ramagde, W.M. Wonham. The control of Discrete Event Systems. Proceedings of the IEEE, Vol 77, No.1, January 1989. 2

Overview Introduction Methods: DES, TDES, Supervisory Control, Synchronization Operators, Procedure Scheme. CNC Machine: Model, Specifications, Resulting Supervisor, Activities. Conclusions 3

Introduction Manufacturing system: Flexible: different tasks on different types of parts. Reconfigurable processors: it takes time to initialize another task. Limited buffers. Fixed supply and demand rate. Hard-real-time: completion of a task within a given deadline is guaranteed. Supervisory controller manages the system. Both modeled as timed discrete-event systems. Formal constructive method to: 1. decide whether a stable supervisory control exists. 2. compute the stable supervisory control, if it exists. 4

Discrete Event Systems G act = (Σ act, A, δ act, a 0, A m ) Σ act : finite alphabet of event labels (events) A: Activity set containing activities a (states). δ act : Activity transition function. δ act : Σ act A A Activity transition σ : a = δ act (σ, a). a 0 : initial activity. A m A: subset of marker activities. 5

G = (Σ, Q, δ, q 0, Q m ) Timed Discrete-Event Systems q 0 Q, Q m Q Discrete time event tick: Σ := Σ act {tick} Lower l σ and upper u σ time bounds for each transition σ. Two possible types: 1. prospective events σ spe with 0 l σ u σ < 2. remote events σ rem with 0 l σ < u σ = Timed event triples Σ tim := {(σ, l σ, u σ ) σ Σ act } Every state q is related to an activity and a timer: q = (a, {t σ σ Σ act }) 6

Example of Timed Discrete-Event Systems G act = (Σ act, A, δ act, a 0, A m ) Σ act = {α, β} a 0 = 0 δ act (α,0) = δ act (β,0) = 0 A = A m = {0} 7

Example of Timed Discrete-Event Systems G = (Σ, Q, δ, q 0, Q m ) Σ = {α, β,tick} q 0 = a 0 = 0 δ act (α,0) = δ act (β,0) = 0 Q m = {0} Timed events: (α,1, 1), (β,2, 3). Q = {0} {0, 1} {0, 1, 2, 3}, Q = 8. State 0 1 2 3 4 5 6 7 [t α, t β ] [1,3] [0,2] [1,2] [0,1] [0,3] [1,1] [0,0] [1,0] 7

Supervisory Control of DES Inclusion of all possible transition sequences of (T)DES G in its language L(G). Representation of the supervisor by an automaton V monitoring G. Disablement of certain events in transition structure of G to meet certain specifications. Differentiation between controllable and uncontrollable events: Σ act = Σ c Σ u Possibility to force some events Σ for. 8

Supervisory Control of DES Specification of the control input for every possible string w of G by a supervisor map s: κ = s(w) Closed loop behavior of the system L(V G) =: K 1. ɛ K 2. wσ K iff w K,σ V (w),wσ L 8

Example for Supervisory Control of DES Supremal controllable language K : largest controllable language K K. Σ c = {α, β}, Σ u = {λ}. L = (α(αα + β)(λ + α) + β(αλ + αα + λ))β L m = (α(αα + β)α + β(αα + λ))β K = (αα + β)λβ K is called controllable if: KΣ u L K 9

Supervisory Control of TDES Considering time bounds (l σ, u σ ) as specifications. Minimal restrictive supervisor: disabling certain events only if necessary creation of largest possible subset of legal sequences. Software TTCT available to create, combine TDESs and to compute the supremal controllable sublanguage of a given language. Creation of a supervisory TDES by three main steps: sync,meet and supcon 10

Parallelisation of Generators (sync) Synchronization of two TDESs: G 3 = G 1 G 2 For all σ Σ 3,act : σ (Σ 1,act Σ 2,act ) (Σ 2,act Σ 1,act ) Timed events must be synchronisable: 1. σ Σ 1,act Σ 2,act 2. (l σ,u σ ) = (max(l 1,σ,l 2,σ ), min(u 1,σ,u 2,σ )) 11

Example: the Endangered Pedestrian G = (Σ, Q, δ, q 0, Q m ) PED = ({j}, {r, c}, {[r, j, c]}, r, {c}); Σ tim = (j,1, ) : j = jump,r = road, c = curb. CAR = ({p}, {a, g}, {[a, p, g]}, a, {g}; Σ tim = (p, 2, 2) : p = pass, a = approaching, g = gone by. 12

Example: the Endangered Pedestrian j = jump, p = pass. CP = sync(car, PED), Σ for = {j}. TDES of CP: 12

Restriction of Synchronization on Common Symbols (meet) G 3 = G 1 G 2 Finding a TDES fulfilling all conditions of different TDESs simultaneously. Special case of sync with Σ 1 = Σ 2. 13

Example: Saving the Pedestrian For safety: Jump before the car passes. SAVE = ({j, p}, {s0, s1, s2}, {[s0, j, s1], [s1, p, s2]}, s0, {s2}), Σ tim = {(j,0, ), (p, 0, )} : j = jump, p = pass. 14

Example: Saving the Pedestrian Adding the safety specification to the endangered pedestrian example. CPSAV E = meet(cp, SAV E) : 14

Computation of K (supcon) Finding the supremal controllable sublanguage for a certain model TDES G and its specification TDES S. supcon: V = Φ(G, S) Every contained sequence observes the specifications. Erasure of all undesired transitions paths. Possibility of an empty supervisor specifications too hard. 15

Procedure for computing a supervisor 16

Task Processor P, input buffers F 1, F 2 and output buffers H 1, H 2. Input rates: s 1 = 0.5 parts/min, s 2 = 1/3 parts/min. Output rates: d 1 = 1/3 parts/min, d 2 = 0.25 parts/min. 17

Model 18

Model Input buffer G F1 (α 1 = request, β 1 = enter ): Output buffer G H1 (α 3 = leave, β 3 = fetched ): 18

Model Processor reconfiguration G r (λ = reconfig, µ = finished reconfig ): 18

Model Part processing G p (γ = produce, σ = finished producing ): 18

Specification 19

Specification Output buffer specification S H1 (α 3 = leave, σ 1 = finished producing ): 19

Specification Proper configuration of processor S P (γ = produce, λ = reconfig, µ = finished reconfig ): 19

Specification Output specification for type-1 parts S O1 (α 3 = leave, β 3 = fetched ): 19

Resulting Supervisor sync all models: G w = G F1 G F2 G H1 G H2 G p G r. Model G w consists of 35280 states and 129792 transitions. Receiving V by repeated application of supcon: V = Φ(Φ(Φ(Φ(G w, S p ), S F1 S F2 ), S H1 S H2 ), S O1 S O2 ). Supervisor V consists of 2538 states and 5945 transitions. One possible sequence: α 1 β 2 α 2 σ 1 γ 1 ttβ 1 α 1 σ 1 λ 10 µ 10 λ 02 t... 20

Example s Activities Level of type-1 part input buffer: Level of type-2 part input buffer: 21

Example s Activities Level of type-1 part output buffer: Level of type-2 part output buffer: 21

Example s Activities Processor activity under supervisory control: 21

Conclusions Ability to find a supervisor containing all safe sequences. Minimally restrictive controller optimization possibility. Computation of the supremal controllable sublanguage in polynomial time. Disadvantage: exponential increase of the number of states of a composite TDES. Suggested solution in the paper: modular synthesis: set of concurrently operating modular supervisors. 22