title: An Integrated Simulation Module for Cyber-Physical Automation Systems.
abstract: The integration of Wireless Sensors Networks (WSNs) into Cyber Physical Systems (CPSs) is an important research problem to solve in order to increase the performances, safety, reliability and usability of wireless automation systems. Due to the complexity of real CPSs, emulators and simulators are often used to replace the real control devices and physical connections during the development stage. The most widespread simulators are free, open source, expandable, flexible and fully integrated into mathematical modeling tools; however, the connection at a physical level and the direct interaction with the real process via the WSN are only marginally tackled; moreover, the simulated wireless sensor motes are not able to generate the analogue output typically required for control purposes. A new simulation module for the control of a wireless cyber-physical system is proposed in this paper. The module integrates the COntiki OS JAva Simulator (COOJA), a cross-level wireless sensor network simulator, and the LabVIEW system design software from National Instruments. The proposed software module has been called "GILOO" (Graphical Integration of Labview and cOOja). It allows one to develop and to debug control strategies over the WSN both using virtual or real hardware modules, such as the National Instruments Real-Time Module platform, the CompactRio, the Supervisory Control And Data Acquisition (SCADA), etc. To test the proposed solution, we decided to integrate it with one of the most popular simulators, i.e., the Contiki OS, and wireless motes, i.e., the Sky mote. As a further contribution, the Contiki Sky DAC driver and a new "Advanced Sky GUI" have been proposed and tested in the COOJA Simulator in order to provide the possibility to develop control over the WSN. To test the performances of the proposed GILOO software module, several experimental tests have been made, and interesting preliminary results are reported. The GILOO module has been applied to a smart home mock-up where a networked control has been developed for the LED lighting system.
authors.affiliation: Dipartimento di Ingegneria dell'Informazione, Università Politecnica delle Marche, Via Brecce Bianche, 60131 Ancona, Italy. f.ferracuti@univpm.it.
authors.forename: Francesco
authors.initials: F
authors.lastname: Ferracuti
authors.affiliation: SMART Engineering Solutions & Technologies (SMARTEST) Research Centre, Università degli Studi eCampus, Via Isimbardi 10, 22060 Novedrate (CO), Italy. alessandro.freddi@uniecampus.it.
authors.forename: Alessandro
authors.initials: A
authors.lastname: Freddi
authors.affiliation: Dipartimento di Ingegneria dell'Informazione, Università Politecnica delle Marche, Via Brecce Bianche, 60131 Ancona, Italy. a.monteriu@univpm.it.
authors.forename: Andrea
authors.initials: A
authors.lastname: Monteriù
authors.affiliation: Dipartimento di Ingegneria dell'Informazione, Università Politecnica delle Marche, Via Brecce Bianche, 60131 Ancona, Italy. m.prist@univpm.it.
authors.forename: Mariorosario
authors.initials: M
authors.lastname: Prist
keywords: COOJA simulator; Contiki Os; Internet of Things; WSN simulators; cyber physical systems; hardware in-the-loop; software in-the-loop; wireless sensor networks