In automata theory, a field of computer science, a signal automaton is a finite automaton extended with a finite set of real-valued clocks. During a run of a signal automaton, clock values increase all with the same speed. Along the transitions of the automaton, clock values can be compared to integers. These comparisons form guards that may enable or disable transitions and by doing so constrain the possible behaviors of the automaton. Further, clocks can be reset.
Example Before formally defining what a signal automaton is, an example will be given. Let one consider the language ℒ of signals, over a binary alphabet {A,B}, which contains signals γ such that:
A appears in singular intervals. That is, the set of times {t∣γ(t)=A} is discrete, and A appears at least once during each interval of length one. This language can be accepted by the automaton pictured nearby. As for finite automaton, incoming arrows represents initial locations and double circle represents accepting locations. However, contrary to finite automata, letters occurs in locations and not in transition. This is because letters are emitted continuously and transitions are taken discretely. The symbol x represents a clock. This clock allow to measure the time since the last time where A was emitted. Thus x=0 ensures that A is emitted discretely. And 1>x ensures that no more than a unit of time can pass without A occurring.
Formal definition
Signal automaton Formally, a signal automaton is a tuple 𝒜=⟨Σ,L,L0,C,F,α,β,E⟩ that consists of the following components:
Σ is a finite set called the alphabet or actions of 𝒜. L is a finite set. The elements of L are called the locations or states of 𝒜. C is a finite set called the clocks of 𝒜. L0⊆L is the set of start locations. F⊆L is the set of accepting locations. α:L→Σ which associates a letter to each location. β:L→ℬ(C) which associate a clock constraints to each location, and E⊆L×𝒫(C)×L is a set of edges, called transitions of 𝒜, where 𝒫(C) is the powerset of C. An edge (ℓ,r,ℓ′) from E is a transition from locations ℓ to ℓ′ which reset the clocks of r.
Extended state A pair with a location ℓ and a clock valuation ν is called either an extended state or a state. Note that the word state is thus ambiguous, since, depending on the author, it may means either a pair or an element of L. For the sake of the clarity, this article will use the term location for element of L and the term extended location for pairs. Here lies one of the biggest difference between signal-automata and finite automata. In a finite automaton, at some point of the execution, the state is entirely described by the number of letter read and by a finite number of possible values, which are actually called "states". That means that, given a state and a suffix of the word to read, the remaining of the run is totally determined. Thus, the word "finite" in the name "finite automata". However, as it is explained in the section "run" below, in order to resume clocks are used to determine which transitions can be taken. Thus, in order to know the state of the automaton, you must both now in which location you are, and the clock valuation.
Run As for finite automata, a run is essentially a sequence of locations, such that there exists a transition between two locations. However, two differences must be emphasized. The letter is not determined by the transition but by the locations; this is due to the fact that the letters are emitted continuously while transitions are taken discretely. Some time elapses while in a location; the clock constraints labelling a location or its successor may constraint the time spent in a single location. A run is a sequence of the form →ν0C(ℓ0,I0)→ν1r1(ℓ1,I1)… satisfying some constraints. Before stating those constraints, some notations are introduced. The sequences are discrete but represents continuous events. A continuous version of the sequences (σi), (νi), (ℓi) are now introduced. Let i≥0 integral and t∈Ii, then
let σ't be equal to σi, let ν't be νi+t−⌈Ii⌉ with ⌈Ii⌉ being the lower bound of the interval Ii, let ℓ't=ℓi. The constraints satisfied by run are, for each i≥0 integral and t≥0 real:
ℓ0∈L0, (ℓi,ri,ℓi+1)∈E, νi+1=(νi+∣Ii∣)[ri→0], ν't⊨β(ℓ't). The signal defined by this run is the function σ′ defined above. It is said that the run defined above is a run for the signal σ′. The notion of accepting run is defined as in finite automata for finite words, and as in Büchi automata for infinite words. That is, if w is finite of length n, then the run is accepting if ℓn∈F. If the word is infinite, then the run is accepting only if there exists an infinite number of position i such that ℓi∈F.
Accepted signals and language A signal γ is said to be accepted by a signal automaton 𝒜 if there exists a run of 𝒜 on γ accepting it. The set of signals accepted by 𝒜 is called the language accepted by 𝒜 and is denoted by 𝒮(𝒜).
Deterministic signal automaton As in the case of finite and Büchi automaton, a signal-automaton may be deterministic or non-deterministic. Intuitively, being deterministic as the same meaning in each of those case. It means that the set of start locations is a singleton, and that, given an extended state s, and a letter a, there is only one possible extended state which can be reached from s by reading a. More precisely, either it is possible to stay in the location longer, or there is at most one possible successor location. Formally, this can be defined as follows:
L0 is a singleton for each location ℓ∈L, for each transition (ℓ,r,ℓ′)∈E, the two following zones are disjoint: the zone defined by the clock constraint β(ℓ), the zone defined by the clock constraint β(ℓ′) where the constraints on clocks of r are removed, for each location transitions (ℓ,r′,ℓ′)∈E and (ℓ,r″,ℓ″)∈E, the two following zones are disjoint: the zone defined by the clock constraint β(ℓ′) where the constraints on clocks of r′ are removed, the zone defined by the clock constraint β(ℓ″) where the constraints on clocks of r″ are removed,
Simplified signal automata Depending on the authors, the exact definition of signal automata may be slightly different. Two such definitions are now given.
… excerpt ends here. Continue reading the full article.

