UbiREAL is a simulator for developing and testing applications for a smartspace or a smarthome. With UbiREAL simulator, communications and state changes of the virtual devices can be visualized, and context changes such as movements of virtual inhabitants and temporal transition of physical quantities (temperature, humidity, etc.) in the virtual space can be reproduced realistically.
UbiREAL provides functions for placing virtual devices such as sensors and information appliances in a 3D virtual space. With this simulator, software developed using UPnP (Universal Plug and Play) protocols can be executed in the virtual space without modification, and virtual devices in the simulator and real devices can communicate and be used at a time.
Using UbiREAL, we can develop prototypes of new and/or large-scale smartspace applications rapidly and reliably.
- Sept. 28, 2012 - UbiREAL version 1.0 has been released!
What's UbiREAL ?
UbiREAL is a smartspace simulator for developing and testing ubiquitous applications.
In the smartspace, sensors and information appliances are controlled for users based on context consisting of user preference/location/behavior and surrounding environment.
Since applications running on smartspace have influence on convenience and even safety of our daily life, those applications must be developed carefully so that they run expectedly and safely.
However, it is difficult and expensive to test them thoroughly in real world environments, since test examiners have to assemble testbeds using various types of sensors and information appliances and generate a quite large number of contexts for tests.
To mitigate the problem, UbiREAL provides the following functions: (1) designing virtual smartspace by GUI; (2) simulating communication between virtual devices (network simulator); (3) emulating temporal transition of physical quantities (physical quantity simulator); (4) visualizing state changes of devices by 3D animations (visualizer).
UbiREAL has a GUI to import 3D object data in .obj format and to place it to the 3D virtual space by drag-and-drop with a mouse.
UbiREAL visualizer displays state changes of virtual devices (e.g., Light is turned on, TV shows sport channel, etc.) by 3D animations (Fig. 1).
GUI of UbiREAL allows users to place static objects (e.g., furniture, TV, and stereo) and movable objects (e.g., virtual inhabitant) in the 3D space.
It is possible to make an avatar appears during a simulation by setting a route and movement speed of a virtual inhabitant in the 3D space as shown in Fig. 2.
Since each avatar can be regarded as a moving device, user's context such as location can be obtained by corresponding a positioning device to the avatar.
UbiREAL network simulator simulates communication between devices by taking into account influences of obstacles (e.g., walls) in the virtual space.
The network simulator provides functions to allow code for real device to run on the simulator without modification, and to bridge communication between real and virtual devices.
The network simulator has a visualizer (NS Visualizer) to display the network and communication among devices (Fig. 3).
UPnP protocols such as SOAP and SSDP, and TCP/UDP are supported in the simulator. Also, ad-hoc network protocols such as OSPF and AODV, and wireless communication protocols such as IEEE 802.11, ZigBee and Bluetooth will be supported.
Physical quantity simulator of UbiREAL simulates temporal transition of physical quantities such as temperature, humidity, luminance, acoustic volume and radio (currently, temperature is supported in the simulator).
The physical quantity simulator periodically calculates the latest value of the physical quantities based on appropriate formula in Physics.
Since UbiREAL only provides virtual testbed (transition of virtual environment, communication between devices and visualization of state changes of devices), to control devices based on context we need an application which runs on the testbed separately.
We are proposing rule based device control framework called CADEL, and developing software for devices controlled using UPnP protocols.
UbiREAL can execute not only CADEL but also other applications which use protocols supported.
- This movie shows a result of simulation of a rule-based device control application developed using CADEL framework. In this demo, there are two inhabitants, Alice and Dave. The following rules are set to each inhabitant.
|When Alice enter the room||When Dave enter the room|
|TV||Music channel||Sport channel|
|Stereo||Play back sound from TV||OFF|
*Dave's rules have higher priority
- clink_ns: this library is required to run virtual devices in UbiREAL
- Nishikawa, H., Yamamoto, S., Tamai, M., Nishigaki, K., Kitani, T., Shibata, N., Yasumoto, K., and Ito, M.:UbiREAL: Realistic Smartspace Simulator for Systematic Testing, Proc. of the 8th Int'l Conf. on Ubiquitous Computing (UbiComp2006), LNCS4206, pp. 459-476 (Sep. 2006). [PDF]
- Tamai, M., Shibata, N., Yasumoto, K. and Ito, M.:Network Simulation Architecture for Smartspace, Proc. of 2006 System Support for Ubiquitous Computing Workshop (UbiSys2006) (Sep. 2006).
Graduate School of Information Science, Nara Institute of Science and Technology
E-mail: ubireal.sprt[at]gmail.com (replace [at] with @)