Disturbance Decoupling of Timed Event Graphs by Output Feedback Controller

Similar documents
About closed-loop control and observability of max-plus linear systems: Application to manufacturing systems

Open Loop Controllers to Solve the Disturbance Decoupling Problem for Max-Plus Linear Systems

Laurent Hardouin, Carlos Andrey Maia, Bertrand Cottenceau, Mehdi Lhommeau. Abstract. Index Terms

Ying Shang, Laurent Hardouin, Mehdi Lhommeau, and Carlos Andrey Maia

Observer-based Controllers for Max-plus Linear Systems

Ying Shang, Laurent Hardouin, Mehdi Lhommeau, and Carlos Andrey Maia

Modeling and Control of Nested Manufacturing Processes using Dioid Models

Synthesis of Greatest Linear Feedback for Timed Event Graphs in Dioid

Control Hierarchies and Tropical Algebras

Laurent Hardouin, Carlos Andrey Maia, Bertrand Cottenceau, and Mehdi Lhommeau

Modeling and Control for (max, +)-Linear Systems with Set-Based Constraints

Discrete-Event Systems in a Dioid Framework: Control Theory

Projection and Aggregation in Maxplus Algebra

Stock Reduction for Timed Event Graphs Based on Output Feedback

where B = B(U) and Lemma 2: For an uncertain discrete event system over the

A Tropical Extremal Problem with Nonlinear Objective Function and Linear Inequality Constraints

Modeling and Stability Analysis of a Communication Network System

KERNELS, IMAGES AND PROJECTIONS IN DIOIDS. Keywords Dioids, Max-plus algebra, Linear Operators, Projection, Residuation. Abstract.

A Solution of a Tropical Linear Vector Equation

Robust invariance in uncertain discrete event systems with applications to transportation networks

A Generalized Eigenmode Algorithm for Reducible Regular Matrices over the Max-Plus Algebra

Control of Real-Time Discrete Event Systems * Guillaume Brat and Vijay K. Garg. The University of Texas at Austin. Austin, TX 78712, USA

Linear Projectors in the max-plus Algebra

Application of product dioids for dead token detection in interval P-time event graphs

OPTIMAL INPUT SIGNAL DESIGN FOR IDENTIFICATION OF MAX PLUS LINEAR SYSTEMS

On Computing Supply Chain Scheduling Using Max-Plus Algebra

Control of Hybrid Petri Nets using Max-Plus Algebra

Applications of Controlled Invariance to the l 1 Optimal Control Problem

Chap. 3. Controlled Systems, Controllability

Matrix factorization and minimal state space realization in the max-plus algebra

A Mixed Lyapunov-Max-Plus Algebra Approach to the Stability Problem for a two Species Ecosystem Modeled with Timed Petri Nets

Optimal Control of a Class of Timed Discrete Event Systems with Shared Resources, An Approach Based on the Hadamard Product of Series in Dioids.

Spectral Properties of Matrix Polynomials in the Max Algebra

Road Traffic Models using Petri Nets and Minplus Algebra

Event driven manufacturing systems as time domain control systems

State space transformations and state space realization in the max algebra

MAX-PLUS ALGEBRA AND SYSTEM THEORY: WHERE WE ARE AND WHERE TO GO NOW 1

Max-Consensus in a Max-Plus Algebraic Setting: The Case of Fixed Communication Topologies

A connection between number theory and linear algebra

A Notion of Zero Dynamics for Linear, Time-delay System

Equational Theory of Kleene Algebra

Model predictive control for max-plus-linear systems via optimistic optimization

Delft University of Technology. Max-plus algebra and discrete event systems. Komenda, J.; Lahaye, S.; Boimond, J. L.; van den Boom, Ton

Optimal Polynomial Control for Discrete-Time Systems

Universität Augsburg

1. Let r, s, t, v be the homogeneous relations defined on the set M = {2, 3, 4, 5, 6} by

Rational computation in dioid algebra and its application to performance evaluation of Discrete Event Systems

Memory Loss Property for Products of Random Matrices in the Max-Plus Algebra

A (Max, +)-Linear Model for the Analysis of Urban Traffic Networks

Matrix period in max-drast fuzzy algebra

10. Smooth Varieties. 82 Andreas Gathmann

A Weak Bisimulation for Weighted Automata

MAX-PLUS CONVEX SETS AND FUNCTIONS

Resolving infeasibility in extremal algebras 1

REACHABILITY AND OBSERVABILITY OF LINEAR SYSTEMS OVER MAX-PLUS 1

Receding-horizon control for max-plus linear systems with discrete actions using optimistic planning

Tropical Optimization Framework for Analytical Hierarchy Process

DERIVATIONS. Introduction to non-associative algebra. Playing havoc with the product rule? BERNARD RUSSO University of California, Irvine

MATH 326: RINGS AND MODULES STEFAN GILLE

Solving weakly linear inequalities for matrices over max-plus semiring and applications to automata theory

Introduction to Kleene Algebras

MIT Algebraic techniques and semidefinite optimization February 16, Lecture 4

THE DESIGN OF ACTIVE CONTROLLER FOR THE OUTPUT REGULATION OF LIU-LIU-LIU-SU CHAOTIC SYSTEM

Universal Algebra for Logics

TROPICAL SCHEME THEORY

Zero controllability in discrete-time structured systems

Quantizations and classical non-commutative non-associative algebras

The characteristic equation and minimal state space realization of SISO systems in the max algebra

Review of linear algebra

Another algorithm for nonnegative matrices

Equivalence of dynamical systems by bisimulation

OPTIMAL TOKEN ALLOCATION IN TIMED CYCLIC EVENT GRAPHS

Toward the Resolution of Resource Conflict in a MPL-CCPM Representation Approach

The Stability Problem for Discrete Event Dynamical Systems Modeled with timed Petri Nets Using a Lyapunov-Max-Plus Algebra Approach

arxiv: v2 [math.oc] 28 Nov 2015

Elementary maths for GMT

Completeness of Star-Continuity

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information

Fun with Semirings. A functional pearl on the abuse of linear algebra. Stephen Dolan

WEAK STRUCTURE AT INFINITY AND ROW-BY-ROW DECOUPLING FOR LINEAR DELAY SYSTEMS

arxiv: v1 [cs.sy] 2 Apr 2019

CURRICULUM MAP. Course/Subject: Honors Math I Grade: 10 Teacher: Davis. Month: September (19 instructional days)

Axioms of Kleene Algebra

Stability of Switched Linear Hyperbolic Systems by Lyapunov Techniques

6.1 Matrices. Definition: A Matrix A is a rectangular array of the form. A 11 A 12 A 1n A 21. A 2n. A m1 A m2 A mn A 22.

On Regularity of Incline Matrices

Basic Concepts in Linear Algebra

a(b + c) = ab + ac a, b, c k

Nikolai K. Krivulin. St.Petersburg State University

Max-Plus Algebra Toolbox for Matlab R. Jarosław Stańczyk

GROUPS. Chapter-1 EXAMPLES 1.1. INTRODUCTION 1.2. BINARY OPERATION

Research Division. Computer and Automation Institute, Hungarian Academy of Sciences. H-1518 Budapest, P.O.Box 63. Ujvári, M. WP August, 2007

Williamsville C.U.S.D. #15 Mathematics Curriculum

Linear Algebra. Chapter 5

SOLUTION OF GENERALIZED LINEAR VECTOR EQUATIONS IN IDEMPOTENT ALGEBRA

Review of Basic Concepts in Linear Algebra

Robust Observer for Uncertain T S model of a Synchronous Machine

Integral Extensions. Chapter Integral Elements Definitions and Comments Lemma

A REACHABLE THROUGHPUT UPPER BOUND FOR LIVE AND SAFE FREE CHOICE NETS VIA T-INVARIANTS

Output Regulation of the Arneodo Chaotic System

Transcription:

Disturbance Decoupling of Timed Event Graphs by Output Feedback Controller 1 M. Lhommeau, L. Hardouin and B. Cottenceau Abstract This paper deals with the closed loop controller design for (max,+)-linear systems (Timed Event Graphs in the Petri nets formalism) when some exogenous and uncontrollable inputs disturb the system. The control law (u = F x v) is designed in order to take into account the disturbance effects in an optimal manner with regards to the just-in-time criterion. This problem is reminiscent of the disturbance decoupling control problem for classical linear systems. Index Terms Discrete event systems ; Timed event graphs ; Semiring ; Max-plus algebra ; Disturbance decoupling I. INTRODUCTION Discrete Event Systems (DES) appear in many applications in manufacturing systems [1], computer and communication networks [14] and are often described by the Petri Net formalism. Timed-Event Graphs (TEG) are Timed Petri Nets in which all places have single upstream and single downstream transitions and appropriately model DES characterized by delay and synchronization phenomena. Twenty-five years ago, TEG behavior was described by linear model in some idempotent semiring (see [5] and also [2], [9], [12]). In the sequel many achievements on the control of TEG arose in [9], [10], [17]. The control strategies of TEG are very reminiscent of the control of classical linear systems, the main difference being due to the algebraic setting. In [2, 5.6] the optimal open-loop control is introduced. In [10], [16] closed-loop control strategies are introduced, the controller design is given in order to achieve model matching problem. This paper proposes to consider control of (max, +)-linear system when some disturbances act on the system. Disturbances are uncontrollable inputs which disable the firing of internal transitions

2 of the TEG and lead to an useless accumulation of tokens inside the graph. The controller aims to avoid, as much as possible, this useless token accumulation 1 without altering the system performances. This is the best that we can do from the just-in-time point of view when these systems are disturbed. II. ALGEBRAIC TOOLS A. Ordered sets, residuation and idempotent semirings In this section, we recall some basic notions about partially ordered sets, residuation and idempotent semirings. See [2] [4] for more details. By ordered set, we will mean throughout the paper a set equipped with a partial order. We say that an ordered set (X, ) is complete if any subset A X has a least upper bound (denoted by A). In particular, X has both a minimal (bottom) element X =, and a maximal (top) element X = X. Since the greatest lower bound of a subset A X can be defined by A = {x X x a, a A}, X is a complete lattice. If (X, ) and (Y, ) are ordered sets, we say that a map f : X Y is isotone if x x f(x) f(x ). Map f : X Y is residuated if there exists a map f : Y X such that x X, y Y, f(x) y x f (y), which means that for all y Y, the set {x X f(x) y} has a maximal element, f (y). Let (X, ) and (Y, ) be complete ordered sets, map f : X Y is lower semicontinuous (for short l.s.c.) if for all A X, f ( A) = f (A), where f (A) = {f(a) a A}. In particular, when A =, we get f ( X ) = Y. When (X, ) and (Y, ) are complete ordered sets, there is a simple characterization of residuated map. Lemma 1: Let (X, ) and (Y, ) be complete ordered sets. A map f : X Y is residuated if, and only if, it is lower semicontinuous. Proof: See [4, Th. 5.2] or [2, Th. 4.50]. We now apply these notions to idempotent semirings. Recall that a semiring is a set S, equipped with two operations,, such that (S, ) is a commutative monoid (the zero element will be 1 In the manufacturing framework, this corresponds to reduce the work-in-process and to satisfy the just-in-time criterion.

3 denoted ), (S, ) is a monoid (the unit element will be denoted e), operation is right and left distributive over, and is absorbing for the product (i.e. a = a =, a). A semiring S is idempotent if a a = a for all a S. A non empty subset B of a semiring S is a subsemiring of S if for all a, b B we have a b B and a b B. In an idempotent semiring S, operation induces a partial order relation a b a = a b, a, b S. (1) Then, a b = a b. We say that an idempotent semiring S is complete if it is complete as an ordered set, and if for all a S, the left and right multiplications 2 by a, L a : S S, x ax and R a : S S, x xa are l.s.c.. These maps are residuated, then the following notation are considered : L a(b) = a \b = {x ax b} and Ra(b) = b /a = {x xa b}, a, b S. The set of n n matrices with entries in S is an idempotent semiring. The sum and product of matrices are defined conventionally after the sum and product of scalars in S, i.e., (A B) ik = j=1...n {A ij B jk } and (A B) ij = {A ij B ij }. The identity matrix of S n n is the matrix with entries equal to e on the diagonal and to elsewhere. This identity matrix will also be denoted e, and the matrix with all its entries equal to will also be denoted. The map L A : S p S n, x Ax, with A a n p matrix, is residuated, the maximal element of set {x S p Ax b} is denoted L A (b) = A \b with (A \b) j = A ij \b i. Useful results i concerning residuation are given in Appendix B. B. Equivalence kernel and closure residuation Definition 1 (Kernel [6] [8]): Let S be a complete idempotent semiring and let C be a n p matrix with entries in S. We call kernel of L C (denoted by ker C), the subset of all pairs of 2 The symbol is often omitted.

4 elements of S p whose components are both mapped by L C to the same element in S n, i.e., the following definition ker C := { (s, s ) (S p ) 2 Cs = Cs }. (2) Clearly ker C, is an equivalence relation on X, i.e., Cs = Cs furthermore it is a congruence and then we can define the quotient S/ ker C. s s (mod ker C) and Notation 1: The subset of elements s S p that are equivalent to s modulo ker C is denoted [s] C, i.e., [s] C = {s S p s s(mod ker C)} S p. The problem of map restriction and its connection with the residuation theory is now addressed. Definition 2 (Restricted map): Let f : S p S n be a map and A S p. We will denote 3 f A : A S n the map defined by f A = f Id A where Id A : A S p, x x be the canonical injection. Identically, let B S n with Imf B. Map B f : S p B is defined by f = Id B B f, where Id B : B S n, x x be the canonical injection. Definition 3 (Closure map): An isotone map f : S p S p is a closure map if f Id S and f f = f. Proposition 1 ( [10]): A closure map f : S p S p restricted to its image Imf f is a residuated map whose residual is the canonical injection Id Imf : Imf S p, s s. Corollary 1: Let K : S p S p, s s be a map, where s = i N si (see Appendix A for complementary results on map K). The map ImK K is a residuated map whose residual is ( ImK K ) = Id ImK. This means that x = s is the greatest solution to inequality x s. Actually, the greatest solution achieves equality. III. APPLICATION TO TIMED-EVENT GRAPHS CONTROL A. TEG model in idempotent semirings A trajectory of a TEG transition x is a firing date sequence {x(k)} Z. For each increasing sequence {x(k)}, it is possible to define the transformation x(γ) = x(k)γ k where γ is a k Z backward shift operator in event domain (i.e., y(γ) = γx(γ) {y(k)} = {x(k 1)}, (see [2], p. 228). This transformation is analogous to the Z-transform used in discrete-time classical 3 These notations are borrowed from classical linear system theory see [22].

5 control theory and the formal series x(γ) is a synthetic representation of the trajectory x(k). The set of the formal power series in γ is denoted by Z max [γ ] and constitutes an idempotent semiring. The model considered is given by x = Ax Bu Sq y = Cx (3) Where x Z max [γ ] n is the state vector and each entry x i (γ) represents the behavior of the transition labelled x i, it is a series (i.e. x i (γ) = k Z x i(k)γ k ) which depicts the firing trajectory of the internal transition x i (with x i (k) the date of the firing numbered k). Vector y Z max [γ ] q is the output and each component y i (γ) (i [1, q]) represents the behavior of the transition labelled y i, the series y i (γ) depicts the date of the tokens output from this transition. Vector u Z max [γ ] p is the controllable inputs and each component u i (γ) (i [1, p]) represents the behavior of the transition labelled u i, the series u i (γ) depicts the date of the tokens input in the TEG. Matrices A ( Z max [γ ] ) n n (, B Zmax [γ ] ) n p (, C Zmax [γ ] ) q n ( and S Zmax [γ ] ) n r represent the link between transitions. The trajectories u and y can be related ( [2], p. 243) by the equation y = Hu, where H = CA B ( Z max [γ ] ) q p is called the transfer matrix of the TEG. Entries of matrix H are periodic series ( [2], p. 260) in the idempotent semiring, usually represented by 4 p(γ) q(γ)(τγ ν ). The control of a transition u i means that the firing may be enable or disable, that means, the input date is controlled. Therefore, a control law aims to control the input date of tokens in order to achieve some specifications. A classical specification is to track a trajectory (a reference output sequence) while delaying as much as possible the token input, this strategy consists in computing the optimal control with regard to the well-known just-in-time criterion. Formally, let z Z max [γ ] q be a given reference output, the problem is to compute the greatest control, denoted u opt Z max [γ ] p such that y z. Among the controls which respect the constraint y z, u opt is the greatest, i.e., the one which delays as much as possible the input of the tokens in the graph, i.e., this control minimizes in an optimal manner the sojourn time of tokens. 4 p(γ) = n 1 i=0 p iγ i, p i N, is a polynomial that represents the transient and q(γ) = ν 1 represents a pattern which is repeated each τ time units and each ν firings of the transition. j=0 q jγ j, q j N is a polynomial that

6 In [10], [15] closed-loop controllers synthesis, in order to achieve the model matching problem, is addressed. The objective is to compute the greatest closed-loop controller F ( Z max [γ ] ) p n (with u = F x v) which ensures that output y G ref v, where G ref ( Z max [γ ] ) q p is a model to track. This controller leads to a exact model matching if possible and delays as much as possible the input of token while ensuring the constraint (y G ref v). In this paper a specific design goal is to compute a closed-loop controller F (i.e., u = F x v) in order to take into account the influence of the uncontrollable input q. An uncontrollable input q i may disable the firing of the internal transitions bind to q i through matrix S. Therefore, this uncontrollable input q i may decreased the performance of the system, i.e., the token output may be delayed, and some tokens may needlessly wait in the graph since the system is blocked. Therefore, the controller design aims to obtain the greatest F which avoid the input of useless tokens. This means that controller F must be the greatest such that the output y, (i.e., with the control u = F x v) be equal to the output without controller (i.e., with u = v), in other words the control must be neutral with regard to the output, i.e., it must not disturb the system more than disturbance q does it. From the just-in-time point of view it is the best that we can do. Formally, thanks to Theorem 1 (see Appendix A), system (3) may be written x = A Bu A Sq = A [B S] u = A B u q q. (4) y = CA Bu CA Sq = CA B u q The objective is to compute the greatest feedback controller F such that the output be the same than with u = v, i.e., C(A BF ) B v = CA B v, q q v. q This equation is equivalent to C(A BF ) B = CA B ( (A BF ) B, A B ) ker C. The right side of the equivalence shows that F must be such that the transfer between state x ( t and control input v q) be equivalent to A B modulo ker C. This is very reminiscent to the disturbance decoupling problem for the classical linear system (see [22]), which leads to keep

7 the state in the kernel of output matrix C. Let us note that in [11], [13] the classical concept of (A, B)-invariant space is extended to linear dynamical systems over max-plus semiring (see also [20]). Proposition 2: The greatest controller F such that, (A BF ) B [ A B ] is given by C F = CA B \CA B /A B. (5) Proof: Let us note that B = B e, therefore the problem is to compute the greatest F such that C A B e F B = CA B. (6) Obviously, F = is solution, then the greatest solution of C A B e F B CA B, (7) leads to equality. From (f.1) and (f.3) we have that C A B e F B CA B CA B e F A B CA B. (8) By applying the residuation theory (see Section II), we have the following equivalence CA B e F A B CA B e F A B ( CA B ) \ ( CA B ). Relation (f.7) yields ( CA B ) \ ( CA B ) = (( CA B ) \ ( CA B )) (, then CA B ) \ ( CA B ) belongs to image of map K (see Corollary 1). Since ImK K is residuated (see Corollary 1), we get e F A B ( CA B ) \ ( CA B ) e F A B ( CA B ) \ ( CA B ). Finally, by using residuation theory and (f.5), we obtain F = e \ ( CA B ) \ ( CA B ) / ( A B ) = CA B e \ ( CA B ) / ( A B ) = (CA B) \ ( CA B ) / ( A B ). (9)

8 Remark 1: As in classical control linear system theory, controller synthesis, when disturbance acts on the system, may be seen as a particular model matching problem [18], [21]. Remark 2: Controller F is the greatest such that (A BF ) B ImA B [ A B ], C where ImA B = { A Bu u Z max [γ ] p}. Indeed, it is sufficient to note, thanks to (f.1) and (f.3), that (A BF ) B = A B e F A B = A B e F A B, clearly (A BF ) B ImA B. IV. ILLUSTRATION The example considered here is borrowed to the manufacturing setting but may be transposed easily to transport system [12] or network system [14]. The TEG depicted figure 1 may represent a workshop with 3 machines (M 1 to M 3 ). Machine M 1 processes 2 parts simultaneously, each processing lasts 4 times units. Machine M 3 processes the parts released by machines M 1 and M 2. Transitions q 1, q 2 and q 3 are uncontrollable inputs (disturbances), which delay the parts output of machines M 1, M 2 and M 3. In a manufacturing context, inputs q may represent machine breakdowns, uncontrollable supplies of raw materials,.... For this example, the matrices of model (3) are given by 4γ 2 6 e ( ) A = 6γ, B = 9, S = e and C = 1, 7 7 6γ e where, for each entry, the exponent in γ denotes the tokens number in the place and the coefficient depicts the processing time. This yields to the following transfer between output y and disturbance q (respectively input u) ) CA S = (8(6γ) 8(6γ) 1(6γ) and CA B = (14(6γ) 17(6γ) ), each component of these matrices is a periodic series. The example has been computed by using toolbox MinMaxGD which runs with Scilab (see [19]).

9 Fig. 1: System in bold lines and controller in dotted lines According to Proposition 2 and solution (5), the controller is obtained by computing CA B \CA B /A B.

10 Therefore, we obtain F = CA B \CA B /A B = 6(6γ) 6(6γ) 13(6γ). 9(6γ) 9(6γ) 16(6γ) This feedback is not causal because there are negative coefficients in the matrix (see [2, Def. 5.35] for a strict definition of causality). The canonical injection from the causal elements of Z max [γ ] (denoted Z max [γ ] + ) in Z max [γ ] is also residuated (see [10] for details). Its residual is given by Pr = ( k Z s(k)γk) = k Z s +(k)γ k where s(k) if (k, s(k)) (0, 0), s + (k) = otherwise. Therefore, the greatest causal feedback is F + = Pr(F ) = γ(6γ) γ(6γ) 5γ 3 (6γ). (10) 3γ 2 (6γ) 3γ 2 (6γ) 2γ 3 (6γ) Figure 1 shows a realization of the controller (bold dotted lines). In order to simulate the system, following input v is considered v = 20 + γ6. 20 + γ 6 It means that 6 tokens are available at time t = 20. First the system is assumed to be not disturbed, i.e., q =. The system trajectories without controller (F =, then u = v, i.e., the open-loop behavior), denoted u ol, x ol and y ol, are given by u ol = v, x ol = 26 30γ 2 34γ 4 + γ 6 A Bv = 29 35γ 41γ 4 + γ 6, 36 42γ 48γ 2 54γ 3 60γ 4 66γ 5 + γ 6 and y ol = CA Bv = 37 43γ 49γ 2 55γ 3 61γ 4 67γ 5 + γ 6. With controller F + (i.e. u = F x v) these trajectories, denoted u cl, x cl and y cl, become u cl = (F + A B) v = 20 29γ 35γ2 41γ 3 47γ 4 53γ 5 + γ 6, 20 32γ 2 38γ 3 44γ 4 50γ 5 + γ 6 x cl = 26 35γ 41γ 2 47γ 3 53γ 4 59γ 5 + γ 6 (A BF + ) Bv = 29 41γ 47γ 3 53γ 4 59γ 5 + γ 6 36 42γ 48γ 2 54γ 3 60γ 4 66γ 5 + γ 6 and y cl = C(A BF + ) Bv = 37 43γ 49γ 2 55γ 3 61γ 4 67γ 5 + γ 6.

11 Clearly, the output trajectories are equal y cl = y ol and u cl u ol, x cl x ol, i.e., controller F + is neutral in regards to the output, but delay as much as possible the tokens ( input. t. In a second step, the system is assumed to be disturbed, with q = 85γ ) 3 Entry q 2 = 85γ 3 means that the fourth firing occurs at time 85. This may represents a machine breakdown occurring after the third part be processed and this breakdown lasts until time 85. The system trajectories without controller (u = v), denoted u olq, x olq and y olq, become u olq = v x olq = 26 30γ 2 34γ 4 + γ 6 A Bv A Sq = 29 35γ 85γ 3 91γ 5 + γ 6, 36 42γ 48γ 2 92γ 3 98γ 4 104γ 5 + γ 6 and y olq = CA Bv CA Sq = 37 43γ 49γ 2 93γ 3 99γ 4 105γ 5 + γ 6. Obviously, this machine breakdown delay the firing of transitions x 2 and x 3 (see Figure 2), indeed x olq x ol and y olq y ol. With controller F +, these trajectories, denoted u clq, x clq and y clq become u clq = (F + A B) v F + (A BF + ) Sq = 20 29γ 35γ2 41γ 3 85γ 4 91γ 5 + γ 6, 20 32γ 2 38γ 3 44γ 4 88γ 5 + γ 6 x clq = 26 35γ 41γ 2 47γ 3 91γ 4 97γ 5 + γ 6 (A BF + ) Bv (A BF + ) Sq = 29 41γ 85γ 3 97γ 5 + γ 6, 36 42γ 48γ 2 92γ 3 98γ 4 104γ 5 + γ 6 and y clq = C(A BF + ) Bv C(A BF + ) Sq = 37 43γ 49γ 2 93γ 3 99γ 4 105γ 5 + γ 6. The output y clq = y olq, i.e., the controller F + does not disturb the system, nevertheless x clq x olq and u clq u olq this means that the tokens input is delayed. Furthermore this is done in an optimal manner, then the input of useless tokens is avoid.

12

( Fig 2: Responses of the system without disturbance where x ol = (x 1ol x 2ol x 3ol ) t ( resp. x cl = (x 1cl x 2cl x 3cl ) t ) ) is the open-loop state (resp. closed-loop state) and the system with ( disturbance where x olq = (x 1olq x 2olq x 3olq ) t ( resp. x clq = (x 1clq x 2clq x 3clq ) t ) is the open-loop ) state (resp. closed-loop state). The trajectory y ol (resp. y olq ) correspond to the output of the open-loop system without disturbance (resp. with disturbance) and the trajectory y cl (resp. y clq ) correspond to the output of the closed-loop system without disturbance (resp. with disturbance). The control trajectory u ol = (u 1ol u 2ol ) t (resp. u olq = (u 1olq u 2olq ) t is equal to the v and the trajectory u cl = (u 1cl u 2cl ) t ( resp. u clq = (u 1clq u 2clq ) t ) is the control provided by the controller when the system is not disturbed (resp. when the system is disturbed). 13 V. CONCLUSION In this paper, the closed-loop controller design for max-plus linear systems subjected to disturbances is given. The control law obtained (i.e. u = F x v) is neutral with regard to the output but leads to the greatest input achieving our objective, it is optimal in regards to just-in-time point of view. The design method may now be applied for (max, +)-linear systems in order to transpose the analogous of the disturbance decoupling problem for the classical linear system. ACKNOWLEDGMENT The authors would like to thank the anonymous reviewers which helped to improve this paper. An also, Thomas Brunch from University of Berlin http://www.control.tu-berlin.de/user: Thomas Brunsch for his attentive reading and his suggestions. APPENDIX A FORMULAE INVOLVING STAR OPERATOR Theorem 1 ( [2, Th. 4.75]): In a complete idempotent semiring S, the least solution of x = ax b is x = a b, where a = i N ai (Kleene star operator) with a 0 = e. Similarly, the least solution of x = Ax b in D n is x = A b.

14 a (ba ) = (a b) = (a b) a (f.1) (a ) = a (f.2) (ab) a = a(ba) (f.3) a a = a (f.4) aa = a a (f.5) (ab) \x = b \(a \x) a(a \x) x a \a = (a \a) a \(ax) x (x /a)a x (f.5) (f.6) (f.7) (f.8) (f.9) APPENDIX B FORMULAE INVOLVING DIVISION REFERENCES [1] H. Ayhan and M.-A. Wortman. Job flow control in assembly operations. IEEE Trans. on Automatic Control, 44(4):864 868, 1999. [2] F. Baccelli, G. Cohen, G.-J. Olsder, and J.-P. Quadrat. Synchronization and Linearity : An Algebra for Discrete Event Systems. Wiley and Sons, 1992. http://www-rocq.inria.fr/metalau/cohen/sed/book-online.html. [3] G. Birkhoff. Lattice theory. Number XXV. Providence, Rhode Island, 1940. [4] T.-S. Blyth and M.-F. Janowitz. Residuation Theory. Pergamon press, 1972. [5] G. Cohen, D. Dubois, J.-P. Quadrat, and M. Viot. A linear system-theoretic view of discrete event processes. In 22rd IEEE Conf. on Decision and Control, 1983. [6] G. Cohen, S. Gaubert, and J.-P. Quadrat. Projection and aggregation in maxplus algebra. In L. Menini, L. Zaccarian, and A. Chaouki T., editors, Current Trends in Nonlinear Systems and Control, in Honor of Petar Kokotovic and Turi Nicosia. Birkhäuser, 2006. http://www-rocq.inria.fr/metalau/quadrat/rome.pdf. [7] G. Cohen, S. Gaubert, and J.P. Quadrat. Kernels, images and projections in dioids. In Proceedings of WODES 96, Edinburgh, August 1996. http://www-rocq.inria.fr/metalau/quadrat/kernel.pdf. [8] G. Cohen, S. Gaubert, and J.P. Quadrat. Linear projectors in the max-plus algebra. In 5th IEEE-Mediterranean Conference, Paphos, Cyprus, July. 1997. http://www-rocq.inria.fr/metalau/quadrat/projector.pdf. [9] G. Cohen, P. Moller, J.-P. Quadrat, and M. Viot. Algebraic Tools for the Performance Evaluation of Discrete Event Systems. IEEE Proceedings: Special issue on Discrete Event Systems, 77(1):39 58, January 1989. http://www-rocq.inria. fr/metalau/quadrat/ieeeproc89.pdf. [10] B. Cottenceau, L. Hardouin, J.-L. Boimond, and J.-L. Ferrier. Model Reference Control for Timed Event Graphs in Dioid. Automatica, 37:1451 1458, August 2001. [11] S. Gaubert and R. Katz. Rational semimodules over the max-plus semiring and geometric approach of discrete event systems. 2004. Kybernetika.

15 [12] B. Heidergott, G.-J Olsder, and J. van der Woude. Max Plus at Work : Modeling and Analysis of Synchronized Systems: A Course on Max-Plus Algebra and Its Applications. Princeton University Press, 2006. [13] R. Katz. Max-plus (A,B)-invariant spaces and control of timed discrete-event systems. IEEE Trans. on Automatic Control, 52(2):229 241, February 2007. [14] J.-Y. Le Boudec and P. Thiran. Newtork Calculus. Springer-Verlag, 2001. http://ica1www.epfl.ch/ps files/netcal.htm. [15] C.-A. Maia, L. Hardouin, R. Santos-Mendes, and B. Cottenceau. Optimal closed-loop control of timed event graphs in dioids. IEEE Trans. on Automatic Control, 49(12):2284 2287, 2003. [16] C.-A. Maia, L. Hardouin, R. Santos-Mendes, and B. Cottenceau. On the Model Reference Control for Max-Plus Linear Systems. In 44th CDC-ECC 05, Sevilla, 2005. [17] E. Menguy, J.-L. Boimond, L. Hardouin, and J.-L. Ferrier. Just in Time Control of Timed Event Graphs: Update of Reference Input, Presence of Uncontrollable Input. IEEE Trans. on Automatic Control, 45(11):2155 2158, November 2000. [18] J.-M. Schumacher. Compensator synthesis using (C,A,B) pairs. IEEE Trans. on Automatic Control, 25(6):1133 1138, 1980. [19] SW2001. Software Tools for Manipulating Periodic Series. http://www.istia.univ-angers.fr/ hardouin/outils.html, http: //www.scilab.org/, http://www.maxplus.org/. [20] L. Truffet. Exploring positively invariant sets by linear systems over idempotent semirings. IMA Journ. Math. Contr. and Infor., 21:307 322, 2004. [21] W.-A. Wolowich. The use of state feedback for exact model matching. SIAM Journal on Control, 10(3):512 523, 1972. [22] W.-M. Wonham. Linear Multivariable Control : A Geometric Approach, 3rd edition. Springer Verlag, 1985.