Vol: 56(70) No: 1 / March 2011 Time Models for PSoC Based Cyber Physical Systems Simulation Madalin Gavrilescu Department of Computers, “Politehnica” University of Timisoara, V. Parvan no 2, 300223 Timisoara, Romania, e-mail: madalin100884@yahoo.com Gabriela Magureanu Department of Computers, “Politehnica” University of Timisoara, V. Parvan no 2, 300223 Timisoara, Romania, e-mail: gabriela_magureanu@yahoo.com Dan Pescaru Department of Computers, “Politehnica” University of Timisoara, V. Parvan no 2, 300223 Timisoara, Romania, phone: (++40) 256-403259, e-mail: dan@cs.upt.ro, web: www.cs.upt.ro/~dan/ Alex Doboli Department of Electrical and Computer Engineering, State University of New York at Stony Brook, Stony Brook, NY, 11794-2350, USA, phone: ++1 631-632-1611, e-mail: adoboli@ece.sunysb.edu Keywords: CPS, PSoC, Simulation model Abstract Simulation is widely used in test and validation of complex distributed systems. This paper presents an attempt to define time models suitable for Programmable System on Chip based Cyber-physical Systems simulation. Programmable system on chip technology supports adaptive distributed applications relaying on reconfigurable sensor nodes. On simulation level of such systems the time model raises many issues. One of the main problems is the non-homogeneity of devices clock frequency. The proposed models aims to overcome this problem. To validate it we design a framework based on OMNeT++, a state of the art event-driven simulator having strong extension capabilities. References [1] E. Lee, “Cyber Physical Systems: Design Challenges,” International Symposium on Oriented Real-Time Distributed Computing (ISORC’08), Orlando, FL, USA, pp. 363-369, May 2008. [2] N. Zeldovich, A. Yip, F. Dabek, R. Morris, D. Mazieres, F. Kaashoek, “Multiprocessor support for event driven programs,” in the Proc. of the USENIX, USA, pp. 239-252, June 2003. [3] V. Subramanian, A. Doboli, “PNet: A Grid type Sensor Network of Reconfigurable Nodes,” in Proc. of the IEEE ICDCS Workshops, Montreal, pp.7-13, 2009. [4] L. Wang, E. Johannessen, P. Hammond, Li Cui, S. Reid, J. Cooper, and D. Cumming, “A Programmable Microsystem Using System-on-Chip for Real-time Biotelemetry,” IEEE Transactions on Biomedical Engineering, Vol. 52, No. 7, July 2005. [5] Y. Zhao, J. Liu, and E. Lee, “A Programming Model for Time-Synchronized Distributed Real-Time Systems,” in Proc. of the 13th IEEE Real-Time and Embedded Technology and Application Symposium, RTAS\'07, WA, USA, pp.259-268, April 2007. [6] A. Varga, R. Hornig, “An overview of the OMNeT++ simulation environment,” in Proc. of the 1st International Conference on Simulation Tools and Techniques for Communications, Networks and Systems & Workshops, Marseille, France, March 2008. [7] J. Polley, D. Blazakis, J. McGee, D. Rusk, J. S. Baras, and M. Karir, “ATEMU: A fine-grained sensor network simulator,” in Proc. of the 1st IEEE Communications Society Conference on Sensor and Ad Hoc Communications and Networks, 2004. [8] P. Levis, N. Lee, M. Welsh, and D. Culler, “TOSSIM: Accurate and scalable simulation of entire TinyOS applications,” in Proc. of ACM SenSys’03, 2003. [9] B. Titzer, D. Lee, and J. Palsberg, “Avrora: scalable sensor network simulation with precise timing,” in Proc. 4th Intl. Symposium on Inf. Proc. in Sensor Networks, Los Angeles, CA, 2005. [10] Y. Sun, S. Kumar, and A. Jantsch, “Simulation and Evaluation for a Network on Chip Architecture Using Ns-2,” in Proc. of the 20th IEEE Norchip Conference, 2002. [11] H. Tyan and J. Hou. “JavaSim: A component-based compositional network simulation environment,” In Proc. of Western Simulation Multiconference, CNDS\'01, 2001. [12] X. Zeng, R. Bagrodia, and M. Gerla, “GloMoSim: a library for parallel simulation of large-scale wireless networks,” in Proc. of the 12th Workshop on Parallel and Distributed Simulation, Banff, Alberta, Canada, May 1998. [13] C. Mallanda, A. Suri, V. Kunchakarra, S. Iyengar, R. Kannan, A. Durresi, and S. Sastry, “Simulating Wireless Sensor Networks with OMNeT++,” Submitted to IEEE Computer, 2005. [14] D. Pediaditakis, Y. Tselishchev, A. Boulis, “Performance and Scalability Evaluation of the Castalia Wireless Sensor Network Simulator,” in Proc. of SIMUTOOLS’2010, Malaga, Spain, 2010. [15] R. Massin, C. Lamy-Bergot, C. J. Le Martret, and R. Fracchia, “OMNeT++-Based Cross-Layer Simulator for Content Transmission over Wireless Ad Hoc Networks,” EURASIP Journal on Wireless Communications and Networking, Article ID 502549, 2010. [16] M. Gavrilescu, G. Magureanu, D. Pescaru, A. Doboli, “A Simulation Framework for PSoC Based Cyber Physical Systems”, in Proc. of ICCC-CONTI’10, Timisoara, Romania, pp. 137 - 142, 2010. [17] M. Gavrilescu, G. Magureanu, D. Pescaru, A. Doboli, “Accurate Modeling of Physical Time in Asynchronous Embedded Sensing Networks”, in Proc. of the 8th International Symposium on Intelligent Systems and Informatics, Subotica, Serbia, 2010. pp. 477-482. |