within 2 time units. If the tester does not reach the
sensor s
2
within 2 time units, then a hole in a prod-
uct is not deep enough and a product must be drilled
again. In the χ process Tester, possible test results
are implemented by non-deterministic choice, where
the skip process term models failure. The actuator
a
1
and sensors s
1
, s
2
are implemented as the chan-
nels cTesterUpDown, cTesterUpDone, cTesterDown-
Done, respectively. When the test result of a prod-
uct is good, the process Tester sends a signal via
the channel cTesterDownDone. Otherwise, it exe-
cutes an internal action (skip). After this, the process
waits for the command to move up to the initial posi-
tion (cTesterUpDown) and then sends a signal via the
channel cTesterUpDone.
Tester( chan cTesterUpDown , cTesterUpDone
, cTesterDownDone
)=
|[ ∗( [cTesterUpDown ??]
; ∆2.0
; (cTesterDownDone !! [] skip)
; [cTesterUpDown ??]
; ∆2.0
; [cTesterUpDone !!]
)
]|
The result of applying the given translation scheme
to the χ process Tester is illustrated in Figure 1.
c<=2
c<=2
cTesterUpDown?
c:=0
c==2
cTesterDownDone!
cTesterUpDown?
c:=0
c==2
cTesterUpdDownDone!
Figure 1: The Tester process translation.
After translating the χ model of the complete
turntable system to UPPAAL it becomes possible to
verify properties such as:
• The absence of deadlock.
• The turntable is not rotating if any of operations
(drilling, testing, adding or removing) is being per-
formed.
• The test result of a product will be known not later
than 31 seconds after the product has been added.
More about using UPPAAL for the verification of the
turntable model written in χ can be found in (Bortnik
et al., 2005).
6 CONCLUSIONS
Nowadays, system specification and modeling be-
come more and more important for handling increas-
ing system complexity. Satisfying industry demands
on reducing the development time (time-to-market),
costs, and increasing reliability of systems requires
early detection of the design errors, which reduces
the amount of re-work. One of the most popular
techniques to make performance analysis is simula-
tion. The process algebraic language χ has been used
extensively to model and simulate the manufactur-
ing systems. However, simulation-based performance
analysis becomes insufficient since it cannot guaran-
tee the correctness of the system. In order to check
correctness of the systems designed in χ we suggest
to translate χ models to UPPAAL timed automata and
verify their properties using UPPAAL model-checking
tool.
In this paper, the general translation of the subset of
χ to UPPAAL has been presented. The subset includes
following process terms: skip, multiple assignment,
communication actions send and receive, deadlock,
inconsistent process term, delay and delay enabling
operator, repetition, sequential and alternative com-
position.
The future work includes translation of the guard
operator, defining the equivalence relation between
the hybrid transition system of χ and the timed tran-
sition system of the UPPAAL timed automata, and ex-
tending the χ toolset with the translator from χ to in-
put language of UPPAAL. This will give the possibil-
ity to verify system properties such as the absence of
a deadlock, as well as other liveness and safety prop-
erties.
REFERENCES
Behrmann, G., David, A., and Larsen, K. G. (2004). A
Tutorial on UPPAAL. In Bernardo, M. and Corradini,
F., editors, Formal Methods for the Design of Real-
Time Systems: 4th International School on Formal
Methods for the Design of Computer, Communication,
and Software Systems, SFM-RT 2004, number 3185 in
LNCS, pages 200–236. Springer-Verlag.
Bengtsson, J. and Yi, W. (2004). Timed Automata: Seman-
tics, Algorithms and Tools. In Reisig, W. and Rozen-
berg, G., editors, Lecture Notes on Concurrency and
Petri Nets, number 3098 in LNCS. Springer-Verlag.
Bohnenkamp, H., Hermanns, H., Katoen, J.-P., and Klaren,
R. (2003). The Modest Modeling Tool and Its Im-
plementation. In Lecture Notes in Computer Science,
volume 2794, pages 116 – 133. Springer-Verlag.
Bortnik, E., Tr
ˇ
cka, N., Wijs, A., Luttik, B., van de Mortel-
Fronczak, J., Baeten, J., Fokkink, W., and Rooda, J.
(2005). Analyzing a χ model of a turntable system
VERIFICATION OF TIMED CHI MODELS USING UPPAAL
491