-
Notifications
You must be signed in to change notification settings - Fork 0
/
brun16intuitive.tex
624 lines (500 loc) · 32.2 KB
/
brun16intuitive.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
\documentclass{sig-alternate}
\usepackage{amsmath}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{color}
\usepackage{xspace}
\usepackage{url}
\usepackage[utf8]{inputenc}
% reviews
\newcommand{\todo}[1] {\textcolor{red}{[TODO] #1}}
\newcommand{\keoma}[1] {\textcolor{blue}{[Keoma] #1}}
\newcommand{\ana}[1] {\textcolor{blue}{[Ana] #1}}
\newcommand{\diego}[1] {\textcolor{blue}{[Diego] #1}}
\newcommand{\remy}[1] {\textcolor{blue}{[Remy] #1}}
\newcommand{\xavi}[1] {\textcolor{blue}{[Xavi] #1}}
\newcommand{\thomas}[1] {\textcolor{blue}{[Thomas] #1}}
% lorem
\newcommand{\lorem} {\textcolor{green}{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.}}
% shortcuts
\newcommand{\smip} {SmartMesh~IP\xspace}
\newcommand{\HRNEIGHBORS} {{\tt HR\_NEIGHBORS}\xspace}
\newcommand{\HRDISCOVERED} {{\tt HR\_DISCOVERED}\xspace}
\newcommand{\HRDEVICE} {{\tt HR\_DEVICE}\xspace}
\newcommand{\pathcreate} {{\tt path\_create}\xspace}
\newcommand{\pathdelete} {{\tt path\_delete}\xspace}
\newcommand{\motecreate} {{\tt mote\_create}\xspace}
\newcommand{\moteId} {{\tt moteId}\xspace}
\newcommand{\NUMHRNEIGHBORS} {140,897\xspace}
\newcommand{\NUMSTATS} {369,276\xspace}
\graphicspath{{figures/}}
\begin{document}
\title{(Not so) Intuitive Results from a Smart Agriculture\\Low-Power Wireless Mesh Deployment}
\numberofauthors{6}
\author{
\alignauthor Keoma~Brun-Laguna\\
\affaddr{Inria, EVA team,\\ Paris, France}\\
\email{keoma.brun@inria.fr}
\alignauthor Ana~Laura~Diedrichs\\
\affaddr{Universidad Tecnológica Nacional (UTN)\\Mendoza, Argentina}\\
\email{ana.diedrichs@frm.utn.edu.ar}
\alignauthor Diego~Dujovne\\
\affaddr{Universidad Diego Portales}\\
\affaddr{Santiago, Chile}\\
\email{diego.dujovne@mail.udp.cl}
\and
\alignauthor R\'emy~L\'eone\\
\affaddr{Inria, EVA team,\\ Paris, France}\\
\email{remy.leone@inria.fr}
\alignauthor Xavier~Vilajosana\\
\affaddr{Univ. Oberta de Catalunya, Barcelona, Catalonia, Spain}\\
\email{xvilajosana@uoc.edu}
\alignauthor Thomas~Watteyne\\
\affaddr{Inria, EVA team,\\ Paris, France}\\
\email{thomas.watteyne@inria.fr}
}
\CopyrightYear{2016}
\setcopyright{acmlicensed}
\conferenceinfo{CHANTS'16,}{October 03-07 2016, New York City, NY, USA}
\isbn{978-1-4503-4256-8/16/10}\acmPrice{\$15.00}
\doi{http://dx.doi.org/10.1145/2979683.2979696}
\maketitle
\begin{abstract}
A 21-node low-power wireless mesh network is deployed in a peach orchard.
The network serves as a frost event prediction system.
On top of sensor values, devices also report network statistics.
In 3~months of operations, the network has produced over 4~million temperature values, and over 350,000~network statistics.
This paper presents an in-depth analysis of the statistics, in order to precisely understand the performance of the network.
Nodes in the network exhibit an expected lifetime between 4 and 16~years, with an end-to-end reliability of 100\%.
We show how -- contrary to popular belief -- wireless links are symmetric.
Thanks to the use of Time Slotted Channel Hopping (TSCH), the network topology is very stable, with $\leq$5 link changes per day in the entire network.
\end{abstract}
%==============================================================================
\section{Introduction}
\label{sec:intro}
% the problem
Peaches don't like frost.
If during the blooming season (September in Argentina), temperature gets below $-$3~C for only a couple of hours, the flowers freeze, and no peaches are produced.
In 2013, 85\% of the peach production in the Mendoza region (western Argentina) was lost because of frost events.
Farmers can lose everything in only a couple of hours.
Yet, if they are warned of a frost event a couple of hours ahead, they can install heaters throughout the orchards, and use big fans to move the hot air around.
Fighting the frost events is not the issue, what is hard is predicting it.
% the PEACH project
The goal of the PEACH project~\cite{watteyne16peach} is to predict frost events.
We install sensors around the orchard that measure air temperature, air relative humidity, soil moisture and soil temperature.
We feed the collected data into a database, and by analyzing the data in real-time using machine learning, we identify patterns in the data and predict frost events.
%======== front-page figure, do not move
\begin{figure}
\centering
\includegraphics[width=\columnwidth]{orchard}
\caption{The wireless motes deployed in the peach orchard in Mendoza, Argentina.}
\label{fig:orchard}
\end{figure}
% the architecture
Because of the heavy machinery that moves inside the orchard, using cables to interconnect the sensors is not an option.
The main challenge is to deploy a system that provides both a high end-to-end reliability and a long lifetime without using cables.
We use \smip, an off-the-shelf low-power wireless mesh solution from Linear Technology.
The sensor devices are battery-powered and equipped with a radio.
They form a multi-hop topology, and collaborate to route the data generated by the devices (called ``motes'') to a gateway.
This gateway is connected to the Internet, and forwards the data gathered in the peach orchard in Argentina to the PEACH servers in Paris, France.
Data appears on the web interface of the servers seconds after it was gathered in the orchard.
\begin{figure*}
\centering
\includegraphics[width=\textwidth]{map_annotated}
\caption{Areal view of the sensor network deployed in the orchard near Mendoza, Argentina.}
\label{fig:map}
\end{figure*}
% the deployment
The network is deployed in a peach orchard of 204~trees, planted in a 50~m~$\times$~100~m area (shown in Fig.~\ref{fig:map}).
The low-power wireless network is composed of 18~sensor motes\footnote{2 motes malfunctioned and are not present on the map.} uniformly distributed between the peach trees, and 3~relay motes to connect the orchard to the gateway some 300~m away.
Each mote is placed in a water-tight box that is fixed on a 4~m high pole (see Fig.~\ref{fig:orchard}).
\newpage
\begin{table}
\begin{center}
\begin{tabular}{ | l | l | l | l | l |}
\hline
\tt{38-0f-66} & \tt{60-05-78} & & & 5 \\
& \tt{60-05-ab} & \tt{60-02-4b} & \tt{60-02-1b} & 4 \\
\tt{60-05-5f} & \tt{60-06-27} & \tt{60-05-69} & \tt{60-01-f8} & 3 \\
\tt{3f-fe-87} & \tt{3f-fe-88} & & \tt{60-08-d5} & 2 \\
\tt{30-60-ef}$^*$ & \tt{3f-f8-20} & \tt{58-32-36}$^*$ & \tt{60-03-82} & 1 \\
\hline
\multicolumn{1}{|c|}{1} & \multicolumn{1}{|c|}{2} & \multicolumn{1}{|c|}{3} & \multicolumn{1}{|c|}{4} &\\
\hline
\end{tabular}
\caption{The MAC addresses of the motes inside the orchard (last 3 bytes). Refer to numbers displayed on the map. ($^*$) DC9018 node with external antenna.}
\end{center}
\end{table}
% hardware
We use four types of \smip devices.
The 2 DC9018 boards feature an external antenna; the 16 DC9003 boards a chip antenna.
These are deployed inside the orchard.
We deploy 3 repeaters outside the orchards to connect the orchard to the gateway.
The gateway is composed of a Raspberry~Pi single-board computer, and a DC2274 \smip manager.
% technology
The \smip network implements the IEEE802.15.4e standard~\cite{std_ieee802154e_2012}, which includes a channel hopping mechanism to reduce the impact of multipath fading and external interference.
This allows the network to be highly reliable, stable, and extremely low power~\cite{watteyne10mitigating, watteyne09reliability}.
% the data
Each mote produces a temperature value every 30~s, and network statistics every 5~min.
In 3~months of operation, we gathered over 4~million temperature values, and more than 350,000~network statistics.
% the goal of this paper
The goal of this paper is to analyze the network statistics over a 3-month period, and precisely assess the performance of the network.
\newpage
This paper makes the following contributions:
\begin{itemize}
\item We confirm that the \smip network exhibits years of battery lifetime and wire-like reliability;
\item We show that channel hopping causes the network topology to be very stable, with $\leq$5 link changes per day;
\item Contrary to popular belief, we show that links in the network are symmetric, i.e.~they exhibit the same signal strength in both directions of the same link.
\end{itemize}
% paper organisation
The remainder of this paper is organized as follows.
Section~\ref{sec:collected} describes what statistics we are collecting, and the amount of statistics collected over a 3~month period.
Section~\ref{sec:intuitive} presents results that confirm assumptions about what we can expect for real-world \smip deployment.
Section~\ref{sec:notsointuitive} presents not so intuitive results about link symmetry and network stability.
Finally, Section~\ref{sec:conclusion} concludes this paper and discusses further improvements.
%==============================================================================
\section{Statistics Collected}
\label{sec:collected}
% environment
The wireless network is deployed in a peach orchard in Junin, 45~km South-East of Mendoza in Western Argentina.
No other electronic devices are present in the field.
Farmers work inside the field with heavy machinery for 1-2~h every 20~days approximately.
In the region, air temperature ranges between $-$9~C in winter (May-October) to +38~C in summer (November-April).
Because of the sunny weather, day/night temperature swings of 10+~C are not uncommon in winter.
% events and HR
Each device in the network produces both sensor data and network statistics.
Network statistics can be separated in Events and Health Reports messages.
\textit{Event} messages are non-periodic notifications the network sends when a network event happens (e.g.~a node joins/leaves the network, a link is created/deleted).
\textit{Health Report} (HR) messages are sent periodically by each mote; they contain counters and statistics about that mote.
HRs are used to assess the overall health of the network.
% number received and remainder
Table~\ref{tab:msg_stats} summarizes the number of events and HRs gathered during the 3~month period.
In the remainder of this section, we detail the meaning of each of the statistics.
\begin{table}
\centering
\begin{tabular}{|l|r|}
\hline
\multicolumn{1}{|c|}{type} & \multicolumn{1}{|c|}{number} \\ \hline
\hline
\motecreate & 133 \\ \hline
\pathcreate & 4,098 \\ \hline
\pathdelete & 3,653 \\ \hline
\HRDEVICE & 132,758 \\ \hline
\HRDISCOVERED & 87,737 \\ \hline
\HRNEIGHBORS & \NUMHRNEIGHBORS \\ \hline
\end{tabular}
\caption{The number of statistics collected over the 3~month period.}
\label{tab:msg_stats}
\end{table}
% - - - - - - - - - - - - - -
\textbf{\motecreate.}
Each node in a \smip network can periodically send beacons to announce the presence of the network.
When a mote wants to join a network, it listens for those beacons.
Once it has heard a number of those, it starts a security handshake with the network.
During that handshake, the \smip manager sends a \motecreate event notification over its serial port.
This is the event we log\footnote{Normally, each mote generates a single \motecreate event. Due to power issues at the manager side, the network restarted a couple of times and new events were created.}.
It contains, among other information, the association between the newly-joined device's 8-byte MAC address and its 2-byte \moteId.
% - - - - - - - - - - - - - -
\textbf{\pathcreate and \pathdelete.}
In \smip terminology, a ``path'' is the link-layer resource that allows two neighbor nodes to communicate\footnote{~In more classical networking terminology, this is often referred to as a ``link''. We use the terms ``path'' and ``link'' interchangeably in this paper.}.
Each time a mote starts communicating with a new neighbor (e.g.~its routing parent), a \pathcreate event is produced.
Similarly, each time a mote \textit{stops} communicating with a neighbor (e.g.~it changes routing parent), a \pathdelete event is produced.
We log both messages.
% - - - - - - - - - - - - - -
\textbf{\HRDEVICE.}
Each network device produces a \HRDEVICE every 15~min.
This health report contains counters/statistics internal to the mote, such as its current battery voltage, temperature, or total number of messages sent.
% - - - - - - - - - - - - - -
\textbf{\HRDISCOVERED.}
\smip nodes continuously monitor their surroundings to discover neighbor nodes.
Every 15~min, each node produces an \HRDISCOVERED health report that contains the list of ``discovered'' neighbors, and the associate signal strength it heard them at.
These discovered neighbors can potentially be used in the future as neighbors the node communicates with.
% - - - - - - - - - - - - - -
\textbf{\HRNEIGHBORS.}
Two nodes are neighbors when link-layer resources are installed for them to communicate.
The neighbors of a node are a subset of the discovered neighbors.
Every 15~min, each note generates an \HRNEIGHBORS health report that contains its list of neighbors.
These messages also specifies per-neighbor counters, such as the number of link-layer retransmissions.
% analysis
After 3~months of operation, we have collected \NUMSTATS~network statistics (see Table~\ref{tab:msg_stats}).
The goal of the next section is to present the main results from analyzing this information.
We group these results in two categories.
``Intuitive'' results (Section~\ref{sec:intuitive}) are results that confirm the performance expected from a \smip network.
``Not so intuitive'' results (Section~\ref{sec:notsointuitive}) are results that we believe go against popular belief.
This classification is necessarily subjective.
Possibly due to power line failure at the network manager side, the network experienced some restarting.
For this reason, some analysis presented in the next sections are done in shorter period.
As a side effect, this allows us to verify the network formation and joining process.
%==============================================================================
\section{Intuitive Results}
\label{sec:intuitive}
Previous publications~\cite{watteyne16peach,watteyne10mitigating,watteyne09reliability,watteyne15industrial} underline the performance of TSCH networks in general, and \smip in particular.
Standardization work in the IETF 6TiSCH working group\footnote{~\url{https://tools.ietf.org/wg/6tisch/charters}} around TSCH networks further illustrates the move of the industry towards this type of networking technology.
So while we expect good performance from the network, this section verifies that this is indeed the case.
We start by looking at two physical-layer metrics: RSSI vs Distance (Section~\ref{sec:rssi_distance}) and PDR vs. RSSI (Section~\ref{sec:waterfall}).
While these have no dependency on TSCH (the type of medium access), they allow us to verify the overall connectivity in the network.
We then look at key performance indicators of \smip networks: end-to-end reliability (Section~\ref{sec:net_reliability}) and network lifetime (Section~\ref{sec:lifetime}).
%------------------------------------------------------------------------------
\subsection{RSSI vs. Distance}
\label{sec:rssi_distance}
The Friis transmission model~\cite{saunders07antennas} gives the relationship between the Received Signal Strength (RSSI)\footnote{~Strictly speaking, the RSSI is the Received Signal Strength \textit{Indicator}, a value returned by radio chip. Because of its prevalence in low-power wireless literature, we use it RSS and RSSI interchangeably.} in free space.
While it does \textit{not} apply directly to our Smart Agriculture outdoor deployment, we note in Fig.~\ref{fig:pister_hack} that the individual RSSI values are located between the Friis model, and the Friis model offset by $-$40~dB.
This corroborates the results from~\cite{zats10wireless}.
\begin{figure}[h]
\centering
\includegraphics[width=\columnwidth]{pister_hack}
\caption{RSSI measurements are roughly located between the Friis model and the Friis model shifted by $-$40~dB.}
\label{fig:pister_hack}
\end{figure}
%------------------------------------------------------------------------------
\subsection{Wireless Waterfall}
\label{sec:waterfall}
% sample presentation
Due to the inherent physical unreliability of the radio medium, it is impossible to know if a future transmission will be successful or not.
The Packet Delivery Ratio (PDR) is the portion of successful link-layer transmissions over the total number of link-layer transmission attempts.
A failed attempt means that the link-layer frame needs to be re-transmitted; it does \textit{not} mean the packet is lost.
Over a period of 3~months, \NUMHRNEIGHBORS~\HRNEIGHBORS messages are collected.
These contain, for a given node, the number of link-layer transmission attempts and successes to each of its neighbors.
We remove the portion of neighbors with no transmission and keep only the DC9003 motes, resulting in a total of 88,284 messages (approx. 37\% from the total number of \HRNEIGHBORS).
% plot
Fig.~\ref{fig:waterfall} plots the PDR and the RSSI of these 125,103 messages.
For readability, we also plot the average/deviation of the data for a given RSSI value.
Because of its shape, this is known as the ``waterfall plot''.
\begin{figure}
\centering
\includegraphics[width=\columnwidth]{waterfall}
\caption{
The PDR/RSSI ``waterfall'' plot.
}
\label{fig:waterfall}
\end{figure}
Overall, above $-$85~dBm, the PDR of the link is very good~(>95\%).
Below that value, the PDR rapidly degrades, indicating that, on these links, frequent retransmissions happen.
The device manufacturer documentation~\cite{smip_app_note} indicates that a path is considered as ``bad'' when:
\begin{itemize}
\item RSSI>$-$80~dBm and PDR<50\%
\item RSSI>$-$70~dBm and PDR<70\%
\end{itemize}
This is not the case here.
% interferences
A \textit{waterfall plot} either shifted right with very few paths below $-$70~dBm, or with a non-constantly decreasing curve would be an example of interference-prone environment.
This is not the case in Fig.~\ref{fig:waterfall}, meaning that the \smip network is not experiencing high levels of interferences from co-located wireless devices.
%------------------------------------------------------------------------------
\subsection{End-to-End Reliability}
\label{sec:net_reliability}
% steady state results
We expect the \smip network to offer wire-like reliability.
Table~\ref{tab:net_stats} confirms that this is the case.
It presents statistics gathered over July 15-25 2016 period.
\begin{table}
\begin{tabular}{|l|l|}
\hline
reliability & 100\% (Arrived/Lost: 693844/0)\\ \hline
average PDR & 95\% (Transmit/Fails: 4405569/258778)\\ \hline
latency & 700~msec\\
\hline
\end{tabular}
\caption{The overall network performance in the 15-25 July 2016 period.}
\label{tab:net_stats}
\end{table}
It shows that, as none of the 693,844 packets generated in the network was lost, the end-to-end reliability is 100\%.
The average PDR over all the links is very high (95\%), indicating that the nodes are deployed close enough to one another.
Finally, the average latency over all nodes is 700~ms.
These results are very similar to the very initial results presented in~\cite{watteyne16peach}, indicating no degradation in performance of the \smip network over the 3~month operation.
%------------------------------------------------------------------------------
\subsection{Network Lifetime}
\label{sec:lifetime}
% description
Each device is powered by a pair of Energizer L-91 AA batteries.
These contain a nominal 3134~mAh of charge, or 2821~mAh when accounting for a 10\% decrease due to manufacturing differences.
A \smip node contains a ``charge accounting'' feature in which it tracks the amount of charge is has been drawing from the battery.
The mote reports this number every 15~min as a field in its \HRDEVICE health report.
This number allows us to predict the lifetime of the device.
% results
Table~\ref{tab:stats_charge} shows charge consumed by the 16~motes inside the orchard over the 3~month period (87 days), as well as the portion of the battery this represents.
Assuming the same energy consumption rate, we can extrapolate the lifetime.
The node with the longest lifetime is {\tt 60-02-4b}.
From Fig.~\ref{fig:map}, we can see that this is a leaf node.
Since it does not have to relay data from any children, it is normal that this node consumes very little.
The node with the shortest lifetime is {\tt 60-03-82} and has 5~years of lifetime.
This shows the ultra-low power consumption of the \smip network.
\begin{table}
\begin{tabular}{|c|c|r|}
\hline
MAC address & charge consumed & lifetime \\
\hline
\tt{30-60-ef} & 227,847~C (2.2\% battery) & 10.8~years \\
\tt{38-0f-66} & 252,356~C (2.5\% battery) & 9.8~years \\
\tt{3f-f8-20} & 291,312~C (2.9\% battery) & 8.4~years \\
\tt{3f-fe-87} & 392,606~C (3.9\% battery) & 6.3~years \\
\tt{3f-fe-88} & 458,459~C (4.5\% battery) & 5.3~years \\
\tt{58-32-36} & 327,634~C (3.2\% battery) & 7.5~years \\
\tt{60-01-f8} & 252,454~C (2.5\% battery) & 9.8~years \\
\tt{60-02-1b} & 222,253~C (2.2\% battery) & 10.1~years \\
\tt{60-02-4b} & 146,068~C (1.4\% battery) & 16.8~years \\
\tt{60-03-82} & 494,841~C (4.9\% battery) & 5.0~years \\
\tt{60-05-5f} & 274,502~C (2.7\% battery) & 9.0~years \\
\tt{60-05-69} & 437,136~C (4.3\% battery) & 5.7~years \\
\tt{60-05-78} & 304,145~C (3.0\% battery) & 8.1~years \\
\tt{60-05-ab} & 284,764~C (2.8\% battery) & 8.7~years \\
\tt{60-06-27} & 321,879~C (3.2\% battery) & 7.7~years \\
\tt{60-08-d5} & 263,120~C (2.6\% battery) & 9.3~years \\
\hline
\end{tabular}
\caption{Per-node power consumption and associated expected lifetime when powered by a pair of AA batteries.}
\label{tab:stats_charge}
\end{table}
%==============================================================================
\section{Not so Intuitive Results}
\label{sec:notsointuitive}
Results from Section~\ref{sec:intuitive} are ``intuitive'' is that they corroborate previous measurements~\cite{watteyne16peach} or confirm theoretical/lab results~\cite{watteyne10mitigating,watteyne09reliability,watteyne15industrial}.
This section presents results which we believe go against popular belief.
This classification is necessarily subjective.
In Section~\ref{sec:symmetry}, we show that links are, in fact, symmetric.
In Section~\ref{sec:net_stability}, we show that, through the use of TSCH, the low-power wireless topology is, in fact, extremely stable.
%------------------------------------------------------------------------------
\subsection{Link (A)Symmetry}
\label{sec:symmetry}
% what is reported
Motes report the average RSSI value of the packets received from each neighbor in their \HRNEIGHBORS health reports.
Because the network uses channel hopping, these reported RSSI values are also averaged over 15 IEEE802.15.4 frequencies~\cite{std_ieee802154_2011}.
In this section, we use the term ``RSSI'' to denote the average RSSI over 15 frequencies.
% what is asymmetry
A common assumption is that links between neighbor low-power wireless devices are hugely asymmetric.
That is, on a link between nodes $A$ and $B$, $A$ receives $B$'s link-layer frames with an RSSI very different from the frames $B$ receives from $A$.
Numerous routing protocols (often standardized~\cite{rfc3626}) reuse that assumption and start with a costly step of filtering out asymetric links.
% what we measure
We look at the link statistics between the 18th of June 2016 and the 4th of July 2016 (16 days).
The sample contains 411,132 \HRNEIGHBORS messages received from 14 DC9003 nodes (same hardware).
During that period, 21~links are active with at least 250~transmissions for each link.
For each of those links, we compute the difference between average RSSI in each directions.
Results are presented in Fig.~\ref{fig:tab_symmetry}.
\begin{figure}
\centering
\includegraphics[width=\columnwidth]{sym_plot}
\caption{
The difference in RSSI between the two directions of 20~wireless links
(links continuously active in the 18-25 June 2016 period).
The average value (the bar) is complemented with the standard deviation.
The color of the bar indicates sample size.
}
\label{fig:tab_symmetry}
\end{figure}
% discussion
Fig.~\ref{fig:tab_symmetry} shows that the RSSI difference never exceeds a couple of dB.
Looking at Fig.~\ref{fig:waterfall}, this translates into a handful of percentage points difference in PDR only.
This means the links can be considered symmetric.
This result is in-line with the physical phenomenon that the signal tranveling from $A$ to $B$ undergoes the same attenuation as that from $B$ to $A$.
This result would \textit{not} hold if the neighbor radios had a different transmit power or sensitivity.
That being said, discussions on link symmetry at the routing layer is largely artificial, as any ``good'' medium access control (MAC) protocol uses link-layer acknowledgments.
%------------------------------------------------------------------------------
\subsection{Network Stability}
\label{sec:net_stability}
% unreliability
Wireless in unreliable in nature.
It is normal that some wireless links interconnecting motes ``come and go''.
That is, links that have been performing well (e.g.~PDR>90\%) can suddenly disappear (e.g.~PDR<10\%).
Similarly, nodes that were not able to communicate can suddenly hear one another perfectly.
% time scale
The question, however, is what time scale is considered.
Early academic work on low-power wireless~\cite{srinivasan08beta} has looked at the ``burtiness'' of the wireless links, i.e.~changes over the course of 10-1000's~ms.
Some follow-up work has taken the assumption that wireless links are so unstable that only a reactive routing approach works.
In this section, we infirm this statement by looking at the stability of the network.
% dataset
In particular, we look at the \pathdelete and \pathcreate events.
These are generated each time a node adds/deletes a neighbor to communicate with, which happens for example when the routing topology changes (see Section~\ref{sec:collected}).
The number of \pathdelete and \pathcreate events is a direct measurement of the network stability.
Note that we remove node {\tt b0-00-cc} from the dataset as it does not respect the Dust requirement of having at least two parents to associate with.
Due to the lack of second parent, the node was producing over 20 times the amount of messages than all the other nodes assembled.
% results
Fig.~\ref{fig:net_churn} shows the number of \pathdelete and \pathcreate events per day, over a 16-day period.
For reference, the total number of links in the network is also depicted.
There are less than 5 \pathdelete or \pathcreate events \textit{per day} in the entire network.
This means that links, once established, remain useful for days/weeks at a time, and that the network is extremely stable.
\begin{figure}
\centering
\includegraphics[width=\columnwidth]{net_churn}
\caption{
Network stability: the number of \pathcreate and \pathdelete events generated per day over a 16-day period.
The top portion shows the total number of links.
}
\label{fig:net_churn}
\end{figure}
% discussion
This stability can largely be attributed to the use of channel hopping.
Changing frequency for each packet is known to efficiently combat multi-path fading and external interference~\cite{watteyne09reliability}, the major causes of instability.
It does not contradict the findings of~\cite{srinivasan08beta}, it just means that link-layer retransmissions can efficiently cope with link burstiness, and that the multi-hop topology can remain very stable.
\newpage
%==============================================================================
\section{Conclusion}
\label{sec:conclusion}
% intro
This paper analyzes the \NUMSTATS~network statistics generated by a 21-mote low-power wireless mesh networks deployed in a peach orchard in Argentina, over the course of 3~months.
% intuitive
We use a ``waterfall'' plot to show that the network does not suffer from severe interferences from different wireless devices deployed in the same area.
The \smip network delivers its exceptional performance, with 0~packets lost out of 693,844 received (100\% reliable) and 4-16 years of battery lifetime on a pair of commercial AA batteries.
% non-intuitive
While it is often assumed that wireless links are asymmetric, we show to the contrary that the difference in RSSI averaged over 15 IEEE802.15.4 channels does not exceed a handful of dB.
We show that the network is extremely stable, with less than 5 links being added or deleted per day.
% conclusion
We attribute this performance to the use of Time Synchronized Channel Hopping (TSCH) technology at the heart of the \smip products.
%==============================================================================
%\bibliographystyle{abbrv}
%\bibliography{brun16intuitive}
\begin{thebibliography}{10}
\bibitem{std_ieee802154_2011}
{802.15.4-2011: IEEE Standard for Local and metropolitan area networks. Part
15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs)}, 5 September 2011.
\bibitem{std_ieee802154e_2012}
{802.15.4e-2012: IEEE Standard for Local and metropolitan area networks--Part
15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs) Amendment 1: MAC
sublayer}, 16 April 2012.
\bibitem{rfc3626}
T.~H. Clausen and P.~Jacquet.
\newblock {Optimized Link State Routing Protocol (OLSR)}, October 2003.
\bibitem{smip_app_note}
Linear Technology.
\newblock {\em {SmartMesh IP Application Notes}}, 2015.
\newpage
\bibitem{saunders07antennas}
S.~R. Saunders and A.~Arag\'on-Zavala.
\newblock {\em {Antennas and Propagation for Wireless Communication Systems}}.
\newblock Wiley-Blackwell, 2nd edition, 2007.
\bibitem{srinivasan08beta}
K.~Srinivasan, M.~A. Kazandjieva, S.~Agarwal, and P.~Levis.
\newblock {The $\beta$-factor: Measuring Wireless Link Burstiness}.
\newblock In {\em Conference on Embedded Network Sensor Systems (SenSys)},
pages 29--42, Raleigh, NC, USA, 2008. ACM.
\bibitem{watteyne16peach}
T.~Watteyne, A.~L. Diedrichs, K.~Brun-Laguna, J.~E. Chaar, D.~Dujovne, J.~C.
Taffernaberry, and G.~Mercado.
\newblock {PEACH: Predicting Frost Events in Peach Orchards Using IoT
Technology}.
\newblock {\em {EAI Endorsed Transactions on the Internet of Things}}, June
2016.
\bibitem{watteyne10mitigating}
T.~Watteyne, S.~Lanzisera, A.~Mehta, and K.~S. Pister.
\newblock {Mitigating Multipath Fading through Channel Hopping in Wireless
Sensor Networks}.
\newblock In {\em IEEE International Conference on Communications (ICC)}, pages
1--5, Cape Town, South Africa, 23-27 May 2010. IEEE.
\bibitem{watteyne09reliability}
T.~Watteyne, A.~Mehta, and K.~Pister.
\newblock {Reliability Through Frequency Diversity: Why Channel Hopping Makes
Sense}.
\newblock In {\em International Symposium on Performance Evaluation of Wireless
Ad Hoc, Sensor, and Ubiquitous Networks (PE-WASUN)}, pages 116--123,
Tenerife, Canary Islands, Spain, 26-30 October 2009. ACM.
\bibitem{watteyne15industrial}
T.~Watteyne, J.~Weiss, L.~Doherty, and J.~Simon.
\newblock {Industrial IEEE802.15.4e Networks: Performance and Trade-offs}.
\newblock In {\em International Conference on Communications (ICC), Internet of
Things Symposium}, London, UK, 8-12 June 2015. IEEE.
\bibitem{zats10wireless}
S.~Zats.
\newblock {Wireless Sensor Networks Scaling and Deployment in Industrial
Automation}.
\newblock Master's thesis, University of California, Berkeley, 13 May 2010.
\end{thebibliography}
\end{document}