troller stimulates the object step-by-step and reacts to
responses of the object to drive it towards the goal.
Timed automata based planning and control suits
for this kind of control scenario quite well due to its
non-deterministic nature. Observations can easily be
mapped to an automata locations and transitions en-
coding this non-determinism. Uppaal comes with a
formal verification engine that can be used to establish
weather a “plan” always drives the object to a desired
state. An extreme case is a fully non-deterministic
automaton that implies that it cannot be guaranteed
or estimated which conditions should hold in order to
guarantee that a planned target state of the control ob-
ject is always reachable.
5 REACTIVE PLANNER
For planning and controlling the SNR action in non-
deterministic situations reactive planning controller is
synthesized on-the-fly based on the interaction model
the SNR has learned by observing and recording
Scrub Nurse and Surgeon’s interactive behavior. The
timed automata model learning algorithm used for
that has been introduced in [vain2009humanrobot].
For synthesis of the reactive planning controller that
guides the SNR action when being active is based
on the interaction model the algorithm described in
Reactive testing of non-deterministic systems by test
purpose directed tester(Vain et al., 2011). Intended
control goal of the SNR operation is encoded in the
scenario automaton that specifies the sub goals of the
control, their temporal order and timing constraints.
Whenever one of the sub goals has been reached it
triggers the reset of guard conditions in the interac-
tion model and activates driving conditions to reach
the subsequent goal or one of the alternatives if mul-
tiple equal goals are reachable. In case of violating
the timing constraints or blocking an exception han-
dling procedure or reset is activated and diagnostics
recorded. Special care has been taken to address the
safety precautions in SNR control. An independent
safety monitoring process is running to check if all
safety invariants are satisfied. Whenever safety viola-
tion is detected the emergency stop is activated.
6 CONCLUSIONS
The cognitive robot architecture framework described
in this paper supports several innovative aspects
needed for implementing assisting robots in differ-
ent applications. Our experience is based on the
Scrub Nurse Robot control architecture and software
platform development exercise. We demonstrate that
DTRON model-based distributed control framework
provides flexible infrastructurefor interfacing data ac-
quisition and cognitive functions with the ones of de-
liberative control level planning and decision making.
The architecture merges also a module for learning
human interactions and model construction with re-
active planning controller generator and runtime ex-
ecution engine. The timed automata based interac-
tion model learning, on-the-fly reactive planning con-
troller synthesis and online safety monitoring in SNR
are steps towards the concept of provably correct
robot design.
REFERENCES
Behrmann, G., David, A., and Larsen, K. G. (2004). A tuto-
rial on uppaal. In Bernardo, M. and Corradini, F., edi-
tors, Formal Methods for the Design of Real-Time Sys-
tems: 4th International School on Formal Methods for
the Design of Computer, Communication, and Soft-
ware Systems, SFM-RT 2004, LNCS, page 200–236.
Springer–Verlag.
DesJardins, M. E., Durfee, E. H., Ortiz Jr, C. L., and
Wolverton, M. J. (1999). A survey of research in dis-
tributed, continual planning. AI Magazine, 20(4):13.
Hall, M., Frank, E., Holmes, G., Pfahringer, B., Reutemann,
P., and Witten, I. H. (2009). The WEKA data min-
ing software: an update. SIGKDD Explor. Newsl.,
11(1):10–18.
Hessel, A., Larsen, K., Mikucionis, M., Nielsen, B., Petters-
son, P., and Skou, A. (2008). Testing Real-Time sys-
tems using UPPAAL. In Formal Methods and Testing,
page 77–117. Springer-Verlaag.
Miyawaki, F., Masamune, K., Suzuki, S., Yoshimitsu, K.,
and Vain, J. (2005). Scrub nurse robot system-
intraoperative motion analysis of a scrub nurse and
timed-automata-based model for surgery. Indus-
trial Electronics, IEEE Transactions on, 52(5):1227
– 1235.
Vain, J., Kull, A., K¨a¨aramees, M., Maili, M., and Raiend, K.
(2011). Reactive testing of nondeterministic systems
by test purpose directed tester. In Model-Based Test-
ing for Embedded Systems., Computational Analysis,
Synthesis, and Design of Dynamic Systems, pages
425–452. CRC Press - Taylor & Francis Group, Mas-
sachusetts, USA.
Vain, J., Miyawaki, F., Nomm, S., Totskaya, T., and Anier,
A. (2009). Human-robot interaction learning using
timed automata. In ICCAS-SICE, 2009, pages 2037
–2042.
PECCS 2012 - International Conference on Pervasive and Embedded Computing and Communication Systems
406