ICEIC 2014, Jan. 15 - 18, 2014, Kota Kinabalu, Malaysia
ZigBee Wireless Sensor Network with IEEE1888 Gateway for Building Energy Management System Tanakorn Inthasut, Chaodit Aswakul Department of Electrical Engineering, Faculty of Engineering, Chulalongkorn University, Phayathai Road, Bangkok 10330, Thailand E-mail
[email protected],
[email protected] Abstract
As the first step towards the testing of IEEE1888 openness, this research presents an implementation of ZigBee GW for a building energy management system based on IEEE1888. ZigBee functions for sensor data measurement method and data transmission technique are used for the system and sensors communicate to the storage or database as well as the web applications via IEEE1888 protocol fetch and write primitives. In our testbed, nine sensors have been installed at the Telecommunication System Research Laboratory (TSRL), at Chulalongkorn University, Thailand, as our first prototyping step towards our scaling-up phase to the installation over the whole building at the end of 2014.
This paper presents an implementation of ZigBee gateway for a building energy management system based on IEEE1888. ZigBee functions for sensor data measurement method and data transmission technique are used for the system. Nine sensors have been installed for communicating to the web application every minute via IEEE1888 gateway and storage. For monitoring lighting, temperature and motion-sensor status, preliminary results are given and future work is discussed. Keywords: ZigBee, wireless sensor network, building energy management system, IEEE1888
1. Introduction In a wireless sensor network (WSN), sensors are used to monitor physical or environmental conditions, e.g. temperature, luminance, sound, person movement, and to send or relay these physical data towards the coordinator for further data processing. To implement different applications, WSN usually relies on a variety of different standard protocols. For instance, in the building energy management system application, there exist standards, namely, ZigBee [1], BACnet [2], 6LoWPAN [3] and Modbus [4]. However, those standards need not usually communicate with each other in practice and that interoperability issues become of great concerns especially when the system must be scaled-up. For this reason, recently, IEEE1888 standard has been proposed [5]. IEEE1888 is aimed at serving as the open standard for inter-communication of devices and components talking different protocols. The translation is made possible in IEEE1888 by the introduction of IEEE1888 gateway (GW) in between the legacyprotocol domains and the IEEE1888 domain [5-7].
ZigBee Router for multi sensor node ZigBee Coordinator for IEEE1888 GW Fig. 1. Installation layout of ZigBee WSN nodes and IEEE1888 gateway system
2. Testbed Architecture Our system as illustrated in Fig. 1 consists of two parts, i.e., ZigBee wireless sensor network and IEEE 1888 GW. There are three sensor types in this system to monitor the temperature, the object motion and the luminance. In normal circumstances, the sensors are scheduled to update their data to GW every one minute. This periodic updating mode works well for
239
ICEIC 2014, Jan. 15 - 18, 2014, Kota Kinabalu, Malaysia
the temperature, luminance sensors as well as for the passive infrared (PIR) sensor to inform of its activeness. However, upon a change of signal detected by PIR sensors, the system also allows the immediate triggering of data updates to the data storage. This nonperiodic mode of data updates is useful since PIR is used in our system to turn on the light upon the passage of people into the corresponding area. Fig. 2 shows the designed timings for the system communications. All the dotted communications are implemented via the ZigBee packet of which frame structure has been given in Fig. 3. The specific data length of 22 Bytes is used for periodic updates of (temperature, luminance, PIR status) data, and that of 18 Bytes is used for non-periodic updates of only PIR status data. Immediately after receiving any updates, the ZigBee GW accordingly generates IEEE1888 WRITE packet and send to the data storage. Every the packet is well received, the data storage replies 200OK packet back to the GW. ZB-S1
ZB-S2
ZB-Sn
ZB-GW
our system to cover the sensor installation of the whole building. The project is expected to cover more than 500 sensors and smart meters to monitor the electricity usages as well as the environmental conditions. And with the allocated grant from the Energy Policy and Planning Office, Ministry of Energy, Thailand, we expect to finish our large testbed implementation in 2014 and future results will be reported accordingly.
Data Storage
t1
Fig. 4. Visualization of sensor data
Case 1
t2 tn
4. Acknowledgment
t1+T
This work is financially supported by the Energy Policy and Planning Office, Ministry of Energy, Thailand, and we are grateful to technical supports by Prof. Hiroshi Esaki and Prof. Hideya Ochiai from the University of Tokyo.
Case 2
t2+T t1+T+tCD tn+T ZigBee Communication
WRITE-IEEE1888 Communication
References
Fig. 2. Timing diagram of communications in ZigBee and IEEE1888 domains
[1] ZigBee Alliance, ZigBee Specifications, version1.0, April 2005. [2] IS0 16484-5, Building automation and control systemspart 5 Data communication protocol. ISO, 2003. [3] G. Mulligan, L.W. Group, The 6LoWPAN architecture, in: Proceedings of the EmNets, Cork, Ireland, 2007. [4] Modbus IDA. Modbus application protocol specification v1.1a, June 4, 2004. [5] IEEE1888-2011: standard for ubiquitous green community control network, 2011. [6] H.Esaki, H.Ochiai. "GUTP and IEEE1888 for Smart Facility System Using Internet Architecture Framework", In 1st IEEE Workshop on Holistic Building Intelligence through Sensing Systems (HOBSENSE), cooperating with IEEE DCOSS, Barcelona, Spain, 2011. [7] H.Ochiai, M. Ishiyama, T. Momose, N. Fujiwara, K. Ito, H. Inagaki, A. Nakagawa, and H. Esaki. Fiap: Facility information access protocol for data-centric building automation systems. In IEEE INFOCOM M2MCN work shop, 2011.
Fig. 3. Packet frame of ZigBee protocol IEEE1888 FETCH protocol has then been used at the web application to query data at the data storage. Fig. 4 shows the result on the web visualizing the realtime sensor data in our testbed.
3. Conclusion and Future work After the completion of GW implementation to interconnect ZigBee WSN nodes and IEEE1888 data storage in this paper, our ongoing work is to scale-up
240