Simulation and Performance Analysis of Wireless Sensor Network for Smart Home
Automation
Chowdhury, Ashraful Bari ([email protected]) SFU ID: 301327355
Fan, Sheng ([email protected]) SFU ID: 301373437
Peng, Mian ([email protected]) SFU ID: 301365371
1
Outlines
• Motivation
• WiFi Protocol
• ZigBee Protocol
• Related Works
• Simulation Scenarios and Results
• Conclusion
• References
2
Motivation
• Save the consumer’s money
• Prevention from the wastage of resources
• Ensure home security
https://upload.wikimedia.org/wikipedia/commons/2/26/Ring_video_doorbell.jpg
https://www.statista.com/chart/15736/smart-home-market-forecast/
Motivation
• One major issue for smart home automation : Effective Wireless Communication
Our solution for Smart Home Automation is to use Wi-Fi protocol and ZigBee protocol
https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwit3pCMibrhAhWEIDQIHXpIDnkQjRx6B AgBEAU&url=https%3A%2F%2Fweb.sonxplus.com%2Fen%2F5-practical-tips-to-optimize-your-home-wireless-
network%2F&psig=AOvVaw37M3iEKvQT8tJ8r2x_Ndyy&ust=1554592102428561
Wi-Fi Technology
• Stands for Wireless Fidelity.
• The standard wireless local area network(WLAN) technology for connecting computers and myriad electronic devices to each other and to the Internet.
• the wireless version of a wired Ethernet network.
• Wi-Fi is the common name for the IEEE 802.11 standard.
5 https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjD8dLIkrrhAhVdHzQIHcA_DIMQjRx6B
AgBEAU&url=http%3A%2F%2Fblog.junipersys.com%2Fhow-to-transfer-data-on-your-mesa-2-rugged-tablet%2Fwi- fi%2F&psig=AOvVaw3EcFwhePxjUUaacRqgXYIE&ust=1554594616015069
Wi-Fi Standards
http://www.l-com.com/blog/post/2015/12/17/WiFi-Alphabet-Soup.aspx
Wi-Fi Application
7
Zigbee Technology
• Control and sensor networks on IEEE 802.15.4 standard for wireless personal area networks (WPANs)
• Operation at low-data rates to handle many devices (868 MHz, 902-928MHz and 2.4 GHz)
• low-cost and low-powered mesh network which can be
widely deployed for controlling and monitoring applications
• Product from Zigbee alliance in 2002 which is a group of companies that maintain and publish the Zigbee standard
https://www.elprocus.com/what-is-zigbee-technology-architecture-and-its-applications/
8ZigBee Architecture
• Zigbee system structure
• Zigbee coordinator
• Router
• End device
9
Zigbee protocol architecture
– Physical Layer – MAC Layer – Network Layer – Application Layer
https://www.elprocus.com/what-is-zigbee-technology-architecture-and-its-applications/
ZigBee Topologies
• Star
• simple and easy to deploy
• Mesh
• Mostly used in industries
• Cluster Tree
• Allow any device to
communicate with any other adjacent node for providing redundancy to the data
https://www.elprocus.com/what-is-zigbee-technology-architecture-and-its-applications/
10ZigBee Data Transmission
• Data Transfer Modes
• Beacon Enabled Mode
• Non-beacon Enabled Mode
• Traffic Types
• Periodic Data
• Intermittent Data
• Repetitive Data
11
https://www.digi.com/resources/documentation/Digidocs/90002002/Reference/r_zb
_data_transmission.htm
ZigBee Applications
• Industrial Automation
• Reduce the communication cost as well as optimize the control process for greater reliability
• Home Automation
• Control home appliances
remotely (e.g. lighting system control)
• Smart Metering
• Smart Grid monitoring
https://www.elprocus.com/what-is-zigbee-technology-architecture-and-its-applications/
12Related Works
• R. Kavitha, "Smart Home Systems Using Wireless Sensor Network –A Comparative Analysis", ResearchGate, 2012.
This paper has excellent insights about the smart home system. It gives us the idea of how to build our wireless sensor network.
• S. Arif and S. Supangkat, "Simulation and analysis of ZigBee - WiFi
interference", 2014 International Conference on ICT For Smart Society (ICISS), 2014.
The idea of the coexistence of Zigbee and Wifi protocol in the same network is surfaced from this paper.
• W. Gomez, J. Kim, and S. Leung, “ZigBee Mesh Network Simulation Using OPNET and Study of Routing Selection,” 2009 ENSC 427 Communication Networks Project.
This project is a good reference for setting up some typical scenarios, including self-healing mechanism simulation and limitation of OPNET.
13
Overview of The Project
• Analysis of several Home Automation scenarios based on WiFi and ZigBee protocol.
• Scenarios are:
1. Device performance based on distance
2. Multiple device performance in real-time network 3. Performance for mobile devices
4. Device performance in failure and recovery situation
5. Network performance under the coexistence between ZigBee and WiFi
14
Scenario 01:Device performance based on distance
WiFi Protocol
• From work station to WLAN server
15
Performance gets affected due to
distance
Simulation Results
Scenario 01:Device performance based on distance
ZigBee Protocol
• From coordinator to end device
16
Less than 50m
Less than 200m
End to End Delay is not affected by the distance
Scenario 02: Multiple device performance in the network
WiFi Protocol
• Home network with 3, 6 and 12 Work Stations
17
Scenario 02: Multiple device performance in the network
WiFi Protocol
18
No. of the work stations has determine the task processing
time and throughput.
Scenario 02: Multiple device performance in the network
ZigBee Protocol
• One coordinator
• 6 routers
• 6 mobile end devices
19
Star Topology
Scenario 02: Multiple device performance in the network
ZigBee Protocol
20
Mesh Topology Tree Topology
Scenario 02: Multiple device performance in the network
ZigBee Protocol
• Performance comparison among star, mesh and tree topology
21
Scenario 03: Performance for mobile devices
WiFi Protocol
• Home network with mobile work-station
22
Throughput performance is dependent of the position of mobile work station from the WLAN
server.
Scenario 03: Performance for mobile devices
ZigBee Protocol
• Mobile end device traveling through different PAN
23
Route of the mobile end device 0
Trajectory Settings
Scenario 03: Performance for mobile devices
ZigBee Protocol
24
Simulation Data
Mobile end device hand-off
Scenario 04: Device performance in failure and recovery situation
ZigBee Protocol
• Tree Visualization for 60s
25
Scenario 04: Device performance in failure and recovery situation
ZigBee Protocol
• Tree Visualization for 200s
26
Scenario 04: Device performance in failure and recovery situation
ZigBee Protocol
• Tree Visualization for 800s
27
Scenario 04: Device performance in failure and recovery situation
ZigBee Protocol
28
Failure and Recovery Settings Simulation Data
Scenario 05: Network performance under the coexistence between ZigBee and WiFi
• ZigBee Star Topology With WiFi
29
Scenario 05: Network performance under the coexistence between ZigBee and WiFi
• ZigBee Mesh Topology With WiFi
30
Scenario 05: Network performance under the coexistence between ZigBee and WiFi
• ZigBee Tree Topology With WiFi
31
Scenario 05: Network performance under the coexistence between ZigBee and WiFi
• Performance analysis among different ZigBee topologies with WiFi
32
ZigBee (star topology) + WiFi shows highest throughput
Maximum throughput is achieved by
ZigBee tree topology
Conclusion
• The goal of the project is to build a home automation using wireless sensor network where different devices can co-exist using different network protocol such as WiFi and ZigBee.
• Different scenarios of a typical home automation system has shown to simulate several characteristics and features of WiFi and ZigBee protocol and their coexistence.
Future Work
• Building a more sophisticated home automation system with security measures.
• Developing a mobile app which will act as main control hub to control all the connected devices under the wireless sensor network.
• Adding the GPS feature for locating the exact positon of the device.
33
Thank You!
Any Questions?
34
References
• "What is ZigBee Technology, Architecture and its Applications?", ElProCus - Electronic Projects for Engineering Students, 2019. [Online]. Available:
https://www.elprocus.com/what-is-zigbee-technology-architecture-and-its-applications/. [Accessed: 08- Apr- 2019].
• "Zigbee data transmission", Digi.com, 2019. [Online]. Available:
https://www.digi.com/resources/documentation/Digidocs/90002002/Reference/r_zb_data_transmission.htm. [Accessed: 08- Apr- 2019].
• S, K. (2015). Engineering Hub | WiFi Alphabet Soup. [online] L-com.com. Available at: http://www.l-com.com/blog/post/2015/12/17/WiFi-Alphabet-Soup.aspx [Accessed 17 Dec. 2015].
• Pcmag.com. (2015). Wi-Fi Definition from PC Magazine Encyclopedia. [online] Available at: https://www.pcmag.com/encyclopedia/term/54444/wi-fi [Accessed 8 Apr. 2019].
• Krupanek, B. and Bogacz, R. (2016). OPNET Modeler simulations of performance for multi-nodes wireless systems. [online] Metrology-journal.org. Available at:
https://www.metrology-journal.org/articles/ijmqe/pdf/2016/01/ijmqe151046.pdf [Accessed 10 Feb. 2019].
• R. Kavitha, "Smart Home Systems Using Wireless Sensor Network –A Comparative Analysis", ResearchGate, 2012. [Online]. Available:
https://www.researchgate.net/publication/256043146_Smart_Home_Systems_Using_Wireless_Sensor_Network_-A_Comparative_Analysis. [Accessed: 11- Feb- 2019].
• G. Malik and A. Singh, "Performance Evaluation of WiFi and WiMax Using Opnet", Pdfs.semanticscholar.org, 2013. [Online]. Available:
https://pdfs.semanticscholar.org/4e29/a8a859b4f860c40411bc6eeb597811907a2b.pdf. [Accessed: 11- Feb- 2019].
• Xie, L. and Shi, Y. (2014). Multi-Node Wireless Energy Charging in Sensor Networks - IEEE Journals & Magazine. [online] Ieeexplore.ieee.org. Available at:
https://ieeexplore.ieee.org/document/6747384 [Accessed 11 Feb. 2019].
• Abdulazeez, S. and Rhalibi, A. (2016). Simulation of Massively Multiplayer Online Games communication using OPNET custom application - IEEE Conference Publication. [online] Ieeexplore.ieee.org. Available at: https://ieeexplore.ieee.org/document/7543721 [Accessed 11 Feb. 2019].
• S. Arif and S. Supangkat, "Simulation and analysis of ZigBee - WiFi interference", 2014 International Conference on ICT For Smart Society (ICISS), 2014. [Accessed 18 March 2019].
• W. Gomez, J. Kim, and S. Leung, “ZigBee Mesh Network Simulation Using OPNET and Study of Routing Selection,” 2009 ENSC 427 Communication Networks Project.
35