ПАРАЛЛЕЛЬНАЯ КОМПОЗИЦИЯ КОНЕЧНЫХ АВТОМАТОВ С ТАЙМАУТАМИ - Archive ouverte HAL
Article Dans Une Revue Journal of Control and Computer Science (Tomsk State University) Année : 2014

Parallel composition of nondeterministic Finite State Machines with Timeouts

ПАРАЛЛЕЛЬНАЯ КОМПОЗИЦИЯ КОНЕЧНЫХ АВТОМАТОВ С ТАЙМАУТАМИ

Résumé

The problem of describing the behavior of communicating discrete event systems arises in a number of applications. Many discrete systems can be considered as systems transforming input sequences of actions in one alphabet into output sequences in another alphabet. Often for analysis and synthesis of such systems it is important to take into account time aspects of their behavior, and hence, develop appropriate models. In this paper, we consider the composition of discrete event systems interacting in an asynchronous (parallel) mode taking into account their timeout properties. Finite state models are widely used for discrete event system synthesis and analysis, and in this paper, we use the notion of a Finite State Machine (FSM) with timeouts when describing the system behavior. A Finite State Machine with timeouts, or simply a Timed Finite State Machine (TFSM) throughout the paper, is an initialized FSM augmented with an input timeout function and an output timeout function. The input timeout function specifies the maximal time of waiting for an input for each state, and the next state where the TFSM moves to if no input has been applied before the timeout expires. The output timeout function (often referred to as an output delay function) specifies the number of time instances needed for the TFSM to process an applied input and produce a corresponding output. The set of traces of the TFSM is represented as that of a proper deterministic finite automaton in a following way: a corresponding automaton Aut(S) accepts a trace a = l^lijl^ o ... 1 i 1 o ],ifandonly if p = 0 or p = 1 and (i t )/{o , k{) ... (i , t )/(o , k ) is a time trace of the given TFSM S. To derive such automaton, each TFSM transition is unfolded into a chain of consecutive transitions and there is a corresponding chain of transitions between an input and output symbols labeled by a special symbol 1 (which represents an action "to wait for one time unit") according to the timeout functions. In the parallel composition, the components communicate in a dialogue mode and as usual, Finite State Machines communicate under the assumption of a "slow environment". In other words, the next input is applied only after the composition has produced an output to the previous input. The parallel composition of two TFSMs is defined through the operations over corresponding finite automata: given the component TFSMs S and P, the composition TFSM С = S $ P is the machine that has the corresponding automaton Aut(С) = [Aut(S) $ Aut(P)] n Aut(T ), where T = [(1) I(1) O] (1) represents the language containing all the TFSM languages (in other words, the language accepted by the union of all the corresponding automata). The set of deterministic TFSMs is shown to be closed under parallel composition, i.e., the composition of deterministic component TFSMs is a deterministic TFSM. However, for nondeterministic component TFSMs the composition behavior cannot be described by a TFSM where there is a unique output timeout for each transition. In order to describe the behavior of the composition of nondeterministic component TFSMs it is necessary to take into account that for some transitions, the set of allowed output delays is not a singleton but possibly, an infinite set of allowed delays. Correspondingly, we extend the definition of the output delay function, assuming that the set of allowed output delays is the set (possibly infinite) of corresponding values of a finite set of linear functions described as {b + k-t | b, k e {0} и N}. We show that under such extension the set of TFSMs is closed under parallel composition, and therefore, sufficient to describe communication of the component TFSMs whether they are deterministic or nondeter-ministic. The obtained results can be used in a number of applications, in particular, when solving equations over TFSMs, or testing the composition and its components
Рассматривается задача синтеза сложных дискретных систем, представленных в виде набора взаимодействующих автоматов с входными и выходными таймаутами, для которых вводится операция параллельной (асинхронной) композиции. Показывается, что если компоненты системы являются недетерминированными автоматами, то поведение композиции не может быть описано классическим автоматом с таймаутами, и, соответственно, предлагается расширение этой модел
Fichier non déposé

Dates et versions

hal-01948353 , version 1 (07-12-2018)

Identifiants

  • HAL Id : hal-01948353 , version 1

Citer

Olga Kondratyeva, Nina Yevtushenko, Ana Rosa Cavalli. ПАРАЛЛЕЛЬНАЯ КОМПОЗИЦИЯ КОНЕЧНЫХ АВТОМАТОВ С ТАЙМАУТАМИ. Journal of Control and Computer Science (Tomsk State University), 2014, 2 (27), pp.73 - 81. ⟨hal-01948353⟩
36 Consultations
0 Téléchargements

Partager

More