The Design of High Throughput Wi-Fi Mesh
Networked Wireless Sensor Network using OLSR
Protocol
A Sumarudin1, Willy Permana Putra1, Trio Adiono2 1
Department Informatics Politeknik Negeri Indramayu
Jalan Lohbener lama no 8 Lohbener Indramayu, west Java, Indonesia shumaru@polindra.ac.id asumarudin@gmail.com
2
Electrical Engineering Institute Teknologi Bandung Jalan Ganesha 10, Bandung, Indonesia
tadiono@paume.itb.ac.id
Abstract— We proposed an easily configured Wi-Fi wireless sensor network for mesh topology using OLSR (optimized link state protocol). The system is capable to connect between motes with mesh topology. In order to support high data bitrate, multi applications, multi platform, and secure data connection, we implement the system using Raspberry Pi(R) with ARMv7(R) Quad Cores and Wi-Fi interface. For easy of configuration and operation, the system utilized linux based Raspbian kernel 3.18 operating system. The system has been successfully implemented and verified for real-time soil monitoring system. The system implementation only utilized 1% of processor resources and very responsive for topology regenerating. The QoS performance shows the average jitter is 3.87 ms, the throughput is 8.5 Mbps and the Packet loss is 0.019%. In term of range, the system can reach 175 Meter. The result shows that the proposed WSN can be used for high bit-rate Wi-Fi based on application.
Keywords—Wireless Sensor Network, QoS, Wi-Fi, OLSR.
I. INTRODUCTION
In this paper we proposed a WSN system using OLSR (optimized link state) protocol. The OLSR utilizes Djikstra’s Algorithm for routing protocol, therefore the shortest path can be achieved. Any wireless sensor network with AODV, aodv is routing protocol with distance vector for implementation is very difficult. Based on our work on [1] System on chip implementation for wireless sensor network has been done, but only with ad-hoc connection. Implementation wireless sensor network easy done because it’s operating system with Linux base. Implementation wireless sensor network with
mesh connection with 3 node. 1 node with using sensing and send data a gateway. Routing protocol can generate route with hello packet. Neighborhood can save for best route with cost value.
Fig.1. Proposed mesh network WSN system
In this paper, we route the mesh topology and perform QoS on this network using OLSR protocol. QoS parameters, we can show jitter/delay, throughput/bandwidth and Packet Loss.
II. RELATED WORK
The design of proposed WSN system include protocol routing on SoC using OLRS. The routing test bed is done referring to test bed method [2] and optimized OLRS on NS2 with fuzzy logic controller [3]. It’s very difficult implementations AODV routing protocol on Linux kernel 3 and up [4] for ad hoc routing protocol. Routing protocol implementation at WSN for sending data sender from gateway connection to server with OLRS routing. In term of security issue [5], security the communication using SSH connection.
Currently, many application require high speed data communication and running at multi device platform, such as for IP camera, cloud data, smartphone etc. Therefore, we design WSN with Wi-Fi IEEE 802.11b/g/n, which is very
Sender Gateway
2015 International Conference on Automation, Cognitive Science, Optics, Micro Electro-Mechanical System, and Information Technology (ICACOMIT), Bandung, Indonesia, October 29–30, 2015
different to typical WSN that use Bluetooth [6] and XBEE radio [7].
III. THE DESIGN OF WIRELESS SENSOR NETWORK
A. Wireless Sensor Network Architecture
Our design mote wireless sensor network generate raspberry pi. In this design with similar architecture with ARM. Raspberry pi with Broadcom BCM2835/BCM2836 with CPU 700 MHz ARM11 ARM1176JZF-S core for raspberry pi version 1 and 900MHz quad-core ARM Cortex-A7 for raspberry pi version 2. Operating system with RASPBIAN base on Debian Linux. In this mote use sensor Ph soil, Temperature, humidity, and soil moisture. Any sensor with different protocol data, then sensor connect to i2c device for read sensor. It can possible for add sensor easy.
Fig. 2. WSN Hardware Node block diagram
In our implementation, we use Lithium Polymer Battery with 1300 mAh and regulator with UBEC 5 Volt 5A [8] as power supply.
B. The OLSR Configuration
For the system implementation we used basic parameter of OLSR configuration as shown in Table 1.
Table 1. The basic parameters of OLSR configuration.
No Variable Value
1 Debug level 1
2 IpVersion 4
3 Link quality fish eye 0
4 IPv4 broadcast 255.255.255.255 5 Interface defaults setting
ifs_in_curr_cfg
IPv4 broadcast/multicast
mesh
255.255.255.255 12 Mode
IPv4 broadcast/multicast
mesh (d) auto
IV. THE IMPLEMENTATION AND RESULT
A. The Implementation of Mote
The step of mote implementation is show in Fig.4.
Fig. 3. Step implementation system
First step in our work is configure the schematics the mote wsn on show figure 2. Configure i2c address on device, device i2c slave with microcontroller and device i2c master with raspberry-pi. Read sensor with device is continuously and save on SRAM. If raspberry need read sensor can be request with i2c command on python bus.write_byte(address, value) and for read data sensor is number = bus.read_byte(address).
Evaluate the connection between slave and master connection. If sensor can read correctly then
Mote sensing Mote Destination
Mote sensing Mote Destination
Mote Relay configure olsr routing protocol with design routing.
We implementation with table 1. This configure basically for olrs routing.
In end step, send data on read sensor with ssh connection with slave is mote sensing and master with mote gateway. For this code we utilize python code:
subprocess.call(["sshpass","-p", "xxxx", "scp", "/home/pi/data_sensor.txt",
"pi@<ip_gateway>:/var/www"])
Result sensor can view on web. This result save on database gateway.
Fig. 4. View data sensor send
In Figure 5 show the implementation mote WSN with Wi-Fi connection and it utilize routing protocol. Mote can communicate with other mote on neighborhood with mesh topology connection. Mote has been run.
Fig. 5. Implementation Mote WSN
1.1.Scenario testing
Scenario testing is implementation on plan with any mote and any scenario.
1.1.1.Test range mote wsn
Fig. 6. Mote wireless sensor testing
0
Base on figure 6, bandwidth on 1 meter to be 110 meter is stable on 10 Mbps, Jitter on 1 meter to be 110 meter is stable on 3 msec, and packet loss 1 meter to be 170 meter is stable on 0.02 %. This result is very good for file transfer mote sender to mote destination. And it’s possible for implementation with requirement low latency and big bandwidth for example audio on demand and video on demand.
Table 2. QoS Mote
1.1.2.Multi Hop Topology Test
Fig. 8. Multi Hop scenario
Jitter [ms] Bandwidth[Mbps] Packet loss [%]
Average 3.870941176 8.511568627 0.019137
1
Variable range [meter]
2
Mote sensing
Table 3. QoS on destination Mote
No Latency [ms] Bandwidth [ms] Packet loss [%]
1 2.068 9.99 0.00%
2 1.875 8.13 0.00%
3 1.619 9.85 0.00%
Av 1.854 9.323333333 0
UDP buffer size 63KByte
Base on Quality of Service for other application on network [9]:
Table 4. QoS Metric
No Applications Reliability Delay Jitter Bandw idth
1.1.3.Test topology mesh
Fig. 9. Topology Mesh Test
Table 5. Verification Neighbor on the mote
No Mote Neighbor 1 Neighbor 2
1 Mote 1 (.2) 192.168.43.6 192.168.43.3 2 Mote 2 (.3) 192.168.43.6 192.168.43.2 3 Mote 3 (.6) 192.168.43.3 192.168.43.2
CPU usage for this routing protocol is 1%. It’s very low power for CPU power.
Fig. 10. Implementation Mote WSN
V. CONCLUSION
Mote wireless sensor network has been implementation with olsr routing protocol and can generate mesh topology. Based on testing, QoS on mote are average jitter is 3.87 ms, bandwidth is 8.5 Mbps and Packet loss is 0.019% and the range connection maximum is 175 Meter. For CPU usage only 1% process on CPU. Not only connection with mesh topology, mote can generate topology line and star connection. Mote is good for wireless sensor network implementation and it can develop for send big data application. This system has been implementation for soil monitoring with 4 mote and 1 gateway. For future work can generate implementation mote for big data, example send video send or voice sending for sensing image and signal processing.
REFERENCES
[1] A. Sumarudin, T. Adiono, and W. P. Putra, “Flexible and Reconfigurable System on Chip for Wireless Sensor Network,” in International conference on information technology system and innovation (ICITSI) 2014, 2014, no. November, pp. 24–27.
[2] D. Lumbantoruan and A. Sagala, “PERFORMANCE EVALUATION OF OLSR ROUTING PROTOCOL IN AD HOC NETWORK,” vol. 10, no. 3, pp. 1178– 1184, 2015.
[3] A. Boushaba, A. Benabbou, R. Benabbou, A. Zahi, and M. Oumsis, “An enhanced MP-OLSR protocol for MANETs,” pp. 73–79, 2014.
[4] E. M. Royer and C. E. Perkins, “An implementation study of the AODV routing protocol,” 2000 IEEE Wirel. Commun. Netw. Conf. Conf. Rec. (Cat. No.00TH8540), vol. 3, 2000.
IMPACT 2013 - Proc. Int. Conf. Multimed. Signal Process. Commun. Technol., pp. 26–30, 2013.
[6] M. Tech, “Smart Sensors Based Monitoring System for Agriculture using Field Programmable Gate Array,” pp. 339–344, 2014.
[7] C. Popeanga and N. Cristov, “Smart monitoring and controlling of wind turbines farms based on wireless sensors networks.”
[8] Raspberry Pi, “The Raspberry Pi Single Board Computer: Quick Start Guide,” 2013.