SHORT PAPER: TCP over 6LoWPAN for Industrial Applications Tiancong Zheng, Ahmed Ayadi , Xiaoran Jiang IT/TELECOM Bretagne Rennes, France 8-9 February 2011 Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 1 / 23
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
SHORT PAPER: TCP over 6LoWPAN for IndustrialApplications
Tiancong Zheng, Ahmed Ayadi, Xiaoran Jiang
IT/TELECOM BretagneRennes, France
8-9 February 2011
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 1 / 23
Outline
1 IPv6 over Low-power Wireless Personal Area Networks: Overview
2 Reliable transport protocols for 6LoWPANs: Why TCP??
5 Results and DiscussionOne hop ScenarioMulti-hop Results
6 Conclusion and perspectives
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 2 / 23
IPv6 Low-power Wireless Personal Area Networks:Overview
6LoWPAN is the name of a working group in the internet area of the IETF,
The IETF Working Group 6LoWPAN has recently introduced an adaptationlayer that provides header compression and fragmentation/reassemblymechanisms to allow sending/receiving IPv6 packets over LLNs (e.g., IEEE802.15.4).
Internet
IPv4/IPv6
Edgerouters
LoWPAN nodes
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 3 / 23
The 6LoWPAN layer in TCP/IP model
Figure: The 6LoWPAN architecture
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 4 / 23
Reliable transport protocols for 6LoWPANs: Why TCP??
Currently, the 6LoWPAN WG has defined only UDP header compressionalgorithm named NHC,
UDP does not assure reliable communication between wireless divines,
If some industrial applications are loss tolerant, many others applications aresensitive to losses and their performance decrease when the loss ratioincreases.
TCP is the most reliable transport protocol used in IP-based networks,
TCP ensures reliability of data transmission from a sensor to a host externalIP and vice versa,
TCP could be a good choice for Machine-To-Machine reliable connection,
With TCP, we are able open SSH connection to log into wireless devices(sensors, actors, etc.) and execute commands.
TCP allows also remotely programming/retasking wireless devicesover-the-air.
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 5 / 23
Reliable transport protocols for 6LoWPANs: Why TCP??
Currently, the 6LoWPAN WG has defined only UDP header compressionalgorithm named NHC,
UDP does not assure reliable communication between wireless divines,
If some industrial applications are loss tolerant, many others applications aresensitive to losses and their performance decrease when the loss ratioincreases.
TCP is the most reliable transport protocol used in IP-based networks,
TCP ensures reliability of data transmission from a sensor to a host externalIP and vice versa,
TCP could be a good choice for Machine-To-Machine reliable connection,
With TCP, we are able open SSH connection to log into wireless devices(sensors, actors, etc.) and execute commands.
TCP allows also remotely programming/retasking wireless devicesover-the-air.
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 5 / 23
Outline
1 IPv6 over Low-power Wireless Personal Area Networks: Overview
2 Reliable transport protocols for 6LoWPANs: Why TCP??
5 Results and DiscussionOne hop ScenarioMulti-hop Results
6 Conclusion and perspectives
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 10 / 23
Hardware Setup
In our testbed, all wireless devices are connected to the standard laptop byUSB port. This solution allows us to log the output messages from the motsto the standard laptop,
The embedded device used in our testbed: the Crossbow TelosB mote. Ituses TI MSP430 microcontroller, which offers a 10kB RAM, and a 48 kBprogram flash memory. Its radio is CC2420,which uses ISM frequency bandand offers 250 kbps data rate.
We used the last channel (No. 26) of IEEE 802.15.4 to reduce theinterference with IEEE 802.11.
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 11 / 23
Software Setup
Contiki OS 6 as the operating system for our wireless devices.
Contiki OSis a memory-constraint open source operating system fornetworked embedded devices that includes the uIPv6 stack.
We have chosen Contiki OS because 6LowPAN, UDP and TCP are alreadyimplemented on this OS.
Contiki OS provides standard operating system features like threads, timers,random number generator, clocks, a file system, and a command line shell.
TCP is partially implemented on Contiki OS because of thememory-constraint of the wireless devices.
Seven wireless nodes are distributed with the same distance (between threeand four meters) between each neighbor.We can distinguish four types ofwireless devices based on their functionalities:
1 The Edge Router is the border router that connects the wirelessnetwork to the IP-based wired network.
2 Wireless nodes (N1, N2, N3, N4, and N5) play two functions: a sensornode where TCP client application is running called Ternminal Node,or relay of data frames from the ER to the TN and vice-versa.
3 The External Node generates a concurrent CBR traffic.
Ahmed Ayadi (IT/TELECOM Bretagne) NTMS Wireless Sensor Networks 2011 Paris, 8-9 February 2011 13 / 23
Outline
1 IPv6 over Low-power Wireless Personal Area Networks: Overview
2 Reliable transport protocols for 6LoWPANs: Why TCP??