Marie-Paule Uwase, Long Nguyen Thanh, Jacques Tiberghien, Kris Steenhaut, Jean-Michel Dricot, Hu, Wen, Langendoen, Koen, Ferrari, Federico, Zimmerling, Marco, Mottola, Luca, and Electronics and Informatics
1. Motivation To study experimentally the interactions of the Radio Duty Cycling (RDC), MAC and Routing over Low power and Lossy Networks (RPL) protocols for wireless sensor and actuator networks (WSAN) a test facility is being built in the garden of a countryside house because observations will be easier to interpret far from potentially disturbing radio transmitters and from reflecting structures causing multi-path interferences. The facility consists in a WSAN, with a dozen static motes, positioned all over a 1000 m2 lawn, one mobile mote, affixed on a robotic lawn mower, and one gateway mote, located near a veranda, where computers and test equipment are housed. The position and the transmission power of the static motes should force the RPL routing algorithm to select as many as possible multi-hop routes. As a survey of the relevant literature [1,2,3,4,5,6] did not provide sufficient practical data to implement this last requirement, we undertook themselves a practical study of radio links , inspiredby the experimental work reported in [5] and [6], but using modern motes available on today's market. We believe some of our observations can be useful for anybody designing a WSAN. 2. Experimental set-up Most of the experiments with WSANs in our environment are done with Zolertia Z1 motes [8] running Contiki [9]. As there was no good reason to change this habit, we decided to use the same motes for this project. The Z1 exists in several versions: the simplest one has a built-in antenna, while another has an external antenna. Both were investigated. The quality of a radio link can be characterized by three indicators. Two of them are evaluated by the radio receiver itself: the analog Radio Signal Strength Indicator (RSSI) and the digital Link Quality Indicator (LQI) [7] estimated by the demodulator. The third is directly relevant to the applications: the Ratio of Packets correctly Delivered (PDR). Studies showing that these three indicators do not correlate very well can be found in [8] and [9]. Therefore, whenever relevant, the values of the three will be given. To evaluate these indicators, a point to point unicast link was set up, using the communication functions provided by Contiki rime. The motes were mounted on 1m wooden poles by means of nylon straps. The battery powered transmitter could freely be positioned anywhere in the garden and given any orientation. The receiver was permanently positioned at approximately 1m from the veranda and was connected by a USB cable to a PC recording the received messages. All range measurements were done along one straight line, with no obstacles between sender and receiver, but some additional measurements were done along two other lines for checking influences of unsuspected causes. For avoiding interference with possible WiFi networks all tests were performed in channel 26, the channel which is least susceptible to WiFi interference. The absence of interfering radio fields was monitored during the experiments by means of a SPECTRAN HF-4060 portable spectrumanalyzer from Aaronia. Radio traffic was monitored by a Texas Instruments packet Sniffer with a CC2531DK dongle. 3. The measurements To test a link, the sender transmitted every second a 45 bytes packet. For 50 consecutively received packets the values of RSSI, LQI and the sequence number of the packet were recorded by the PC connected to the receiver. The global values of RSSI and LQI were obtained by averaging the recorded values, while the PDR value was computed by dividing the number of received packets by the number of sent packets. The latter was obtained from the sequence number included by the sender in each packet. For these tests, the radio was continuously left on. 3.1. Directivity measurements The first test aimed at comparing the motes with built-in antenna and those with an external vertical ?/4 whip antenna. Preliminary tests showed that for links exceeding 1m, the motes with built-in antenna needed to be held vertically. For evaluating the horizontal directivity, the properties of the radio link were measured with 8 different orientations of the sender with respect to the receiver. This clearly showed that the internal antenna of the Z1 motes is far from omnidirectional (20 dB difference between the best and worst direction) and that transmission in front of the mote is especially poor. It was suspected that the presence of batteries in front of the internal antenna was the cause of this poor performance, but removing the batteries proved this hypothesis wrong. As the internal antenna would be a source of unwanted and hard to explain artifacts, it was decided to use exclusively motes with an external vertical antenna. As these antennas appeared to be horizontally omnidirectional and to have a main vertical radiation pattern covering approximately 20 degrees, they seemed to be the best choice for a versatile test facility. 3.2. RSSI calibration The next test consisted in verifying the accuracy of the RSSI indications by the receivers. One by one, all motes, under identical conditions, received 50 packets from a single sender. The average values of RSSI for each mote were compared. They all were within a 2 dB margin, except for one mote that gave a 20 dB lower value. The 2 dB margin complies with the CC2420 specifications [7] but the 20 dB were considered an indication of malfunctioning. The antenna or its cable was suspected but substitution proved the problem was elsewhere. 3.3. Range measurements First, the maximal range was evaluated at 0 dBm in an open field. It was found to be 160 m. Thereafter the quality of radio links was measured several times in three different directions, over distances ranging between 3 and 21m with steps of 3 m and with four different levels for the transmitted power (0 dBm, -10 dBm, -15 dBm and -23 dBm). An almost monotonous, but far from predictable, decrease of the RSSI values in function of the distance could be observed, but large differences between measurements done in different directions and/or weather conditions confirmed the affirmation that RSSI values cannot be used to estimate distances [10]. The LQI values did not show a similar pattern: often they were better at medium distances (12m) than nearby (3m). However, most observed values were above 90 which corresponds to a good digital link. The quality of the digital link was confirmed by the PDR values, which were 100% for all links, except for one 21 m link with -23 dB sending power were RSSI (-93 dBm), LQI (60) and PDR (