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
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
|
Internet Engineering Task Force (IETF) J. Martocci, Ed.
Request for Comments: 5867 Johnson Controls Inc.
Category: Informational P. De Mil
ISSN: 2070-1721 Ghent University - IBCN
N. Riou
Schneider Electric
W. Vermeylen
Arts Centre Vooruit
June 2010
Building Automation Routing Requirements
in Low-Power and Lossy Networks
Abstract
The Routing Over Low-Power and Lossy (ROLL) networks Working Group
has been chartered to work on routing solutions for Low-Power and
Lossy Networks (LLNs) in various markets: industrial, commercial
(building), home, and urban networks. Pursuant to this effort, this
document defines the IPv6 routing requirements for building
automation.
Status of This Memo
This document is not an Internet Standards Track specification; it is
published for informational purposes.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are a candidate for any level of Internet
Standard; see Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc5867.
Martocci, et al. Informational [Page 1]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
This document may contain material from IETF Documents or IETF
Contributions published or made publicly available before November
10, 2008. The person(s) controlling the copyright in some of this
material may not have granted the IETF Trust the right to allow
modifications of such material outside the IETF Standards Process.
Without obtaining an adequate license from the person(s) controlling
the copyright in such materials, this document may not be modified
outside the IETF Standards Process, and derivative works of it may
not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other
than English.
Martocci, et al. Informational [Page 2]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Table of Contents
1. Introduction ....................................................4
2. Terminology .....................................................6
2.1. Requirements Language ......................................6
3. Overview of Building Automation Networks ........................6
3.1. Introduction ...............................................6
3.2. Building Systems Equipment .................................7
3.2.1. Sensors/Actuators ...................................7
3.2.2. Area Controllers ....................................7
3.2.3. Zone Controllers ....................................8
3.3. Equipment Installation Methods .............................8
3.4. Device Density .............................................9
3.4.1. HVAC Device Density .................................9
3.4.2. Fire Device Density .................................9
3.4.3. Lighting Device Density ............................10
3.4.4. Physical Security Device Density ...................10
4. Traffic Pattern ................................................10
5. Building Automation Routing Requirements .......................12
5.1. Device and Network Commissioning ..........................12
5.1.1. Zero-Configuration Installation ....................12
5.1.2. Local Testing ......................................12
5.1.3. Device Replacement .................................13
5.2. Scalability ...............................................13
5.2.1. Network Domain .....................................13
5.2.2. Peer-to-Peer Communication .........................13
5.3. Mobility ..................................................13
5.3.1. Mobile Device Requirements .........................14
5.4. Resource Constrained Devices ..............................15
5.4.1. Limited Memory Footprint on Host Devices ...........15
5.4.2. Limited Processing Power for Routers ...............15
5.4.3. Sleeping Devices ...................................15
5.5. Addressing ................................................16
5.6. Manageability .............................................16
5.6.1. Diagnostics ........................................17
5.6.2. Route Tracking .....................................17
5.7. Route Selection ...........................................17
5.7.1. Route Cost .........................................17
5.7.2. Route Adaptation ...................................18
5.7.3. Route Redundancy ...................................18
5.7.4. Route Discovery Time ...............................18
5.7.5. Route Preference ...................................18
5.7.6. Real-Time Performance Measures .....................18
5.7.7. Prioritized Routing ................................18
Martocci, et al. Informational [Page 3]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.8. Security Requirements .....................................19
5.8.1. Building Security Use Case .........................19
5.8.2. Authentication .....................................20
5.8.3. Encryption .........................................20
5.8.4. Disparate Security Policies ........................21
5.8.5. Routing Security Policies to Sleeping Devices ......21
6. Security Considerations ........................................21
7. Acknowledgments ................................................22
8. References .....................................................22
8.1. Normative References ......................................22
8.2. Informative References ....................................22
Appendix A. Additional Building Requirements ......................23
A.1. Additional Commercial Product Requirements ................23
A.1.1. Wired and Wireless Implementations .................23
A.1.2. World-Wide Applicability ...........................23
A.2. Additional Installation and Commissioning Requirements ....23
A.2.1. Unavailability of an IP Network ....................23
A.3. Additional Network Requirements ...........................23
A.3.1. TCP/UDP ............................................23
A.3.2. Interference Mitigation ............................23
A.3.3. Packet Reliability .................................24
A.3.4. Merging Commissioned Islands .......................24
A.3.5. Adjustable Routing Table Sizes .....................24
A.3.6. Automatic Gain Control .............................24
A.3.7. Device and Network Integrity .......................24
A.4. Additional Performance Requirements .......................24
A.4.1. Data Rate Performance ..............................24
A.4.2. Firmware Upgrades ..................................25
A.4.3. Route Persistence ..................................25
1. Introduction
The Routing Over Low-Power and Lossy (ROLL) networks Working Group
has been chartered to work on routing solutions for Low-Power and
Lossy Networks (LLNs) in various markets: industrial, commercial
(building), home, and urban networks. Pursuant to this effort, this
document defines the IPv6 routing requirements for building
automation.
Commercial buildings have been fitted with pneumatic, and
subsequently electronic, communication routes connecting sensors to
their controllers for over one hundred years. Recent economic and
technical advances in wireless communication allow facilities to
increasingly utilize a wireless solution in lieu of a wired solution,
thereby reducing installation costs while maintaining highly reliant
communication.
Martocci, et al. Informational [Page 4]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
The cost benefits and ease of installation of wireless sensors allow
customers to further instrument their facilities with additional
sensors, providing tighter control while yielding increased energy
savings.
Wireless solutions will be adapted from their existing wired
counterparts in many of the building applications including, but not
limited to, heating, ventilation, and air conditioning (HVAC);
lighting; physical security; fire; and elevator/lift systems. These
devices will be developed to reduce installation costs while
increasing installation and retrofit flexibility, as well as
increasing the sensing fidelity to improve efficiency and building
service quality.
Sensing devices may be battery-less, battery-powered, or mains-
powered. Actuators and area controllers will be mains-powered. Due
to building code and/or device density (e.g., equipment room), it is
envisioned that a mix of wired and wireless sensors and actuators
will be deployed within a building.
Building management systems (BMSs) are deployed in a large set of
vertical markets including universities, hospitals, government
facilities, kindergarten through high school (K-12), pharmaceutical
manufacturing facilities, and single-tenant or multi-tenant office
buildings. These buildings range in size from 100K-sq.-ft.
structures (5-story office buildings), to 1M-sq.-ft. skyscrapers
(100-story skyscrapers), to complex government facilities such as the
Pentagon. The described topology is meant to be the model to be used
in all of these types of environments but clearly must be tailored to
the building class, building tenant, and vertical market being
served.
Section 3 describes the necessary background to understand the
context of building automation including the sensor, actuator, area
controller, and zone controller layers of the topology; typical
device density; and installation practices.
Section 4 defines the traffic flow of the aforementioned sensors,
actuators, and controllers in commercial buildings.
Section 5 defines the full set of IPv6 routing requirements for
commercial buildings.
Martocci, et al. Informational [Page 5]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Appendix A documents important commercial building requirements that
are out of scope for routing yet will be essential to the final
acceptance of the protocols used within the building.
Section 3 and Appendix A are mainly included for educational
purposes.
The expressed aim of this document is to provide the set of IPv6
routing requirements for LLNs in buildings, as described in
Section 5.
2. Terminology
For a description of the terminology used in this specification,
please see [ROLL-TERM].
2.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
3. Overview of Building Automation Networks
3.1. Introduction
To understand the network systems requirements of a building
management system in a commercial building, this document uses a
framework to describe the basic functions and composition of the
system. A BMS is a hierarchical system of sensors, actuators,
controllers, and user interface devices that interoperate to provide
a safe and comfortable environment while constraining energy costs.
A BMS is divided functionally across different but interrelated
building subsystems such as heating, ventilation, and air
conditioning (HVAC); fire; security; lighting; shutters; and
elevator/lift control systems, as denoted in Figure 1.
Much of the makeup of a BMS is optional and installed at the behest
of the customer. Sensors and actuators have no standalone
functionality. All other devices support partial or complete
standalone functionality. These devices can optionally be tethered
to form a more cohesive system. The customer requirements dictate
the level of integration within the facility. This architecture
provides excellent fault tolerance since each node is designed to
operate in an independent mode if the higher layers are unavailable.
Martocci, et al. Informational [Page 6]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
+------+ +-----+ +------+ +------+ +------+ +------+
Bldg App'ns | | | | | | | | | | | |
| | | | | | | | | | | |
Building Cntl | | | | | S | | L | | S | | E |
| | | | | E | | I | | H | | L |
Area Control | H | | F | | C | | G | | U | | E |
| V | | I | | U | | H | | T | | V |
Zone Control | A | | R | | R | | T | | T | | A |
| C | | E | | I | | I | | E | | T |
Actuators | | | | | T | | N | | R | | O |
| | | | | Y | | G | | S | | R |
Sensors | | | | | | | | | | | |
+------+ +-----+ +------+ +------+ +------+ +------+
Figure 1: Building Systems and Devices
3.2. Building Systems Equipment
3.2.1. Sensors/Actuators
As Figure 1 indicates, a BMS may be composed of many functional
stacks or silos that are interoperably woven together via building
applications. Each silo has an array of sensors that monitor the
environment and actuators that modify the environment, as determined
by the upper layers of the BMS topology. The sensors typically are
at the edge of the network structure, providing environmental data
for the system. The actuators are the sensors' counterparts,
modifying the characteristics of the system, based on the sensor data
and the applications deployed.
3.2.2. Area Controllers
An area describes a small physical locale within a building,
typically a room. HVAC (temperature and humidity) and lighting (room
lighting, shades, solar loads) vendors oftentimes deploy area
controllers. Area controllers are fed by sensor inputs that monitor
Martocci, et al. Informational [Page 7]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
the environmental conditions within the room. Common sensors found
in many rooms that feed the area controllers include temperature,
occupancy, lighting load, solar load, and relative humidity. Sensors
found in specialized rooms (such as chemistry labs) might include air
flow, pressure, and CO2 and CO particle sensors. Room actuation
includes temperature setpoint, lights, and blinds/curtains.
3.2.3. Zone Controllers
Zone controllers support a similar set of characteristics to area
controllers, albeit for an extended space. A zone is normally a
logical grouping or functional division of a commercial building. A
zone may also coincidentally map to a physical locale such as a
floor.
Zone controllers may have direct sensor inputs (smoke detectors for
fire), controller inputs (room controllers for air handlers in HVAC),
or both (door controllers and tamper sensors for security). Like
area/room controllers, zone controllers are standalone devices that
operate independently or may be attached to the larger network for
more synergistic control.
3.3. Equipment Installation Methods
A BMS is installed very differently from most other IT networks. IT
networks are typically installed as an overlay onto the existing
environment and are installed from the inside out. That is, the
network wiring infrastructure is installed; the switches, routers,
and servers are connected and made operational; and finally, the
endpoints (e.g., PCs, VoIP phones) are added.
BMSs, on the other hand, are installed from the outside in. That is,
the endpoints (thermostats, lights, smoke detectors) are installed in
the spaces first; local control is established in each room and
tested for proper operation. The individual rooms are later lashed
together into a subsystem (e.g., lighting). The individual
subsystems (e.g., lighting, HVAC) then coalesce. Later, the entire
system may be merged onto the enterprise network.
The rationale for this is partly due to the different construction
trades having access to a building under construction at different
times. The sheer size of a building often dictates that even a
single trade may have multiple independent teams working
simultaneously. Furthermore, the HVAC, lighting, and fire systems
must be fully operational before the building can obtain its
occupancy permit. Hence, the BMS must be in place and configured
well before any of the IT servers (DHCP; Authentication,
Authorization, and Accounting (AAA); DNS; etc.) are operational.
Martocci, et al. Informational [Page 8]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
This implies that the BMS cannot rely on the availability of the IT
network infrastructure or application servers. Rather, the BMS
installation should be planned to dovetail into the IT system once
the IT system is available for easy migration onto the IT network.
Front-end planning of available switch ports, cable runs, access
point (AP) placement, firewalls, and security policies will
facilitate this adoption.
3.4. Device Density
Device density differs, depending on the application and as dictated
by the local building code requirements. The following subsections
detail typical installation densities for different applications.
3.4.1. HVAC Device Density
HVAC room applications typically have sensors/actuators and
controllers spaced about 50 ft. apart. In most cases, there is a 3:1
ratio of sensors/actuators to controllers. That is, for each room
there is an installed temperature sensor, flow sensor, and damper
actuator for the associated room controller.
HVAC equipment room applications are quite different. An air handler
system may have a single controller with up to 25 sensors and
actuators within 50 ft. of the air handler. A chiller or boiler is
also controlled with a single equipment controller instrumented with
25 sensors and actuators. Each of these devices would be
individually addressed since the devices are mandated or optional as
defined by the specified HVAC application. Air handlers typically
serve one or two floors of the building. Chillers and boilers may be
installed per floor, but many times they service a wing, building, or
the entire complex via a central plant.
These numbers are typical. In special cases, such as clean rooms,
operating rooms, pharmaceutical facilities, and labs, the ratio of
sensors to controllers can increase by a factor of three. Tenant
installations such as malls would opt for packaged units where much
of the sensing and actuation is integrated into the unit; here, a
single device address would serve the entire unit.
3.4.2. Fire Device Density
Fire systems are much more uniformly installed, with smoke detectors
installed about every 50 ft. This is dictated by local building
codes. Fire pull boxes are installed uniformly about every 150 ft.
A fire controller will service a floor or wing. The fireman's fire
panel will service the entire building and typically is installed in
the atrium.
Martocci, et al. Informational [Page 9]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
3.4.3. Lighting Device Density
Lighting is also very uniformly installed, with ballasts installed
approximately every 10 ft. A lighting panel typically serves 48 to
64 zones. Wired systems tether many lights together into a single
zone. Wireless systems configure each fixture independently to
increase flexibility and reduce installation costs.
3.4.4. Physical Security Device Density
Security systems are non-uniformly oriented, with heavy density near
doors and windows and lighter density in the building's interior
space.
The recent influx of interior and perimeter camera systems is
increasing the security footprint. These cameras are atypical
endpoints requiring up to 1 megabit/second (Mbit/s) data rates per
camera, as contrasted by the few kbit/s needed by most other BMS
sensing equipment. Previously, camera systems had been deployed on
proprietary wired high-speed networks. More recent implementations
utilize wired or wireless IP cameras integrated into the enterprise
LAN.
4. Traffic Pattern
The independent nature of the automation subsystems within a building
can significantly affect network traffic patterns. Much of the real-
time sensor environmental data and actuator control stays within the
local LLN environment, while alarms and other event data will
percolate to higher layers.
Each sensor in the LLN unicasts point to point (P2P) about 200 bytes
of sensor data to its associated controller each minute and expects
an application acknowledgment unicast returned from the destination.
Each controller unicasts messages at a nominal rate of 6 kbit/minute
to peer or supervisory controllers. Thirty percent of each node's
packets are destined for other nodes within the LLN. Seventy percent
of each node's packets are destined for an aggregation device
(multipoint to point (MP2P)) and routed off the LLN. These messages
also require a unicast acknowledgment from the destination. The
above values assume direct node-to-node communication; meshing and
error retransmissions are not considered.
Multicasts (point to multipoint (P2MP)) to all nodes in the LLN occur
for node and object discovery when the network is first commissioned.
This data is typically a one-time bind that is henceforth persisted.
Lighting systems will also readily use multicasting during normal
operations to turn banks of lights "on" and "off" simultaneously.
Martocci, et al. Informational [Page 10]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
BMSs may be either polled or event-based. Polled data systems will
generate a uniform and constant packet load on the network. Polled
architectures, however, have proven not to be scalable. Today, most
vendors have developed event-based systems that pass data on event.
These systems are highly scalable and generate low data on the
network at quiescence. Unfortunately, the systems will generate a
heavy load on startup since all initial sensor data must migrate to
the controller level. They also will generate a temporary but heavy
load during firmware upgrades. This latter load can normally be
mitigated by performing these downloads during off-peak hours.
Devices will also need to reference peers periodically for sensor
data or to coordinate operation across systems. Normally, though,
data will migrate from the sensor level upwards through the local and
area levels, and then to the supervisory level. Traffic bottlenecks
will typically form at the funnel point from the area controllers to
the supervisory controllers.
Initial system startup after a controlled outage or unexpected power
failure puts tremendous stress on the network and on the routing
algorithms. A BMS is comprised of a myriad of control algorithms at
the room, area, zone, and enterprise layers. When these control
algorithms are at quiescence, the real-time data rate is small, and
the network will not saturate. An overall network traffic load of 6
kbit/s is typical at quiescence. However, upon any power loss, the
control loops and real-time data quickly atrophy. A short power
disruption of only 10 minutes may have a long-term deleterious impact
on the building control systems, taking many hours to regain proper
control. Control applications that cannot handle this level of
disruption (e.g., hospital operating rooms) must be fitted with a
secondary power source.
Power disruptions are unexpected and in most cases will immediately
impact lines-powered devices. Power disruptions, however, are
transparent to battery-powered devices. These devices will continue
to attempt to access the LLN during the outage. Battery-powered
devices designed to buffer data that has not been delivered will
further stress network operations when power returns.
Upon restart, lines-powered devices will naturally dither due to
primary equipment delays or variance in the device self-tests.
However, most lines-powered devices will be ready to access the LLN
network within 10 seconds of power-up. Empirical testing indicates
that routes acquired during startup will tend to be very oblique
since the available neighbor lists are incomplete. This demands an
adaptive routing protocol to allow for route optimization as the
network stabilizes.
Martocci, et al. Informational [Page 11]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5. Building Automation Routing Requirements
Following are the building automation routing requirements for
networks used to integrate building sensor, actuator, and control
products. These requirements are written not presuming any
preordained network topology, physical media (wired), or radio
technology (wireless).
5.1. Device and Network Commissioning
Building control systems typically are installed and tested by
electricians having little computer knowledge and no network
communication knowledge whatsoever. These systems are often
installed during the building construction phase, before the drywall
and ceilings are in place. For new construction projects, the
building enterprise IP network is not in place during installation of
the building control system. For retrofit applications, the
installer will still operate independently from the IP network so as
not to affect network operations during the installation phase.
In traditional wired systems, correct operation of a light
switch/ballast pair was as simple as flipping on the light switch.
In wireless applications, the tradesperson has to assure the same
operation, yet be sure the operation of the light switch is
associated with the proper ballast.
System-level commissioning will later be deployed using a more
computer savvy person with access to a commissioning device (e.g., a
laptop computer). The completely installed and commissioned
enterprise IP network may or may not be in place at this time.
Following are the installation routing requirements.
5.1.1. Zero-Configuration Installation
It MUST be possible to fully commission network devices without
requiring any additional commissioning device (e.g., a laptop). From
the ROLL perspective, "zero configuration" means that a node can
obtain an address and join the network on its own, without human
intervention.
5.1.2. Local Testing
During installation, the room sensors, actuators, and controllers
SHOULD be able to route packets amongst themselves and to any other
device within the LLN, without requiring any additional routing
infrastructure or routing configuration.
Martocci, et al. Informational [Page 12]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.1.3. Device Replacement
To eliminate the need to reconfigure the application upon replacing a
failed device in the LLN, the replaced device must be able to
advertise the old IP address of the failed device in addition to its
new IP address. The routing protocols MUST support hosts and routers
that advertise multiple IPv6 addresses.
5.2. Scalability
Building control systems are designed for facilities from 50,000 sq.
ft. to 1M+ sq. ft. The networks that support these systems must
cost-effectively scale accordingly. In larger facilities,
installation may occur simultaneously on various wings or floors, yet
the end system must seamlessly merge. Following are the scalability
requirements.
5.2.1. Network Domain
The routing protocol MUST be able to support networks with at least
2,000 nodes, where 1,000 nodes would act as routers and the other
1,000 nodes would be hosts. Subnetworks (e.g., rooms, primary
equipment) within the network must support up to 255 sensors and/or
actuators.
5.2.2. Peer-to-Peer Communication
The data domain for commercial BMSs may sprawl across a vast portion
of the physical domain. For example, a chiller may reside in the
facility's basement due to its size, yet the associated cooling
towers will reside on the roof. The cold-water supply and return
pipes snake through all of the intervening floors. The feedback
control loops for these systems require data from across the
facility.
A network device MUST be able to communicate in an end-to-end manner
with any other device on the network. Thus, the routing protocol
MUST provide routes between arbitrary hosts within the appropriate
administrative domain.
5.3. Mobility
Most devices are affixed to walls or installed on ceilings within
buildings. Hence, the mobility requirements for commercial buildings
are few. However, in wireless environments, location tracking of
occupants and assets is gaining favor. Asset-tracking applications,
such as tracking capital equipment (e.g., wheelchairs) in medical
Martocci, et al. Informational [Page 13]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
facilities, require monitoring movement with granularity of a minute;
however, tracking babies in a pediatric ward would require latencies
less than a few seconds.
The following subsections document the mobility requirements in the
routing layer for mobile devices. Note, however, that mobility can
be implemented at various layers of the system, and the specific
requirements depend on the chosen layer. For instance, some devices
may not depend on a static IP address and are capable of re-
establishing application-level communications when given a new IP
address. Alternatively, mobile IP may be used, or the set of routers
in a building may give an impression of a building-wide network and
allow devices to retain their addresses regardless of where they are,
handling routing between the devices in the background.
5.3.1. Mobile Device Requirements
To minimize network dynamics, mobile devices while in motion should
not be allowed to act as forwarding devices (routers) for other
devices in the LLN. Network configuration should allow devices to be
configured as routers or hosts.
5.3.1.1. Device Mobility within the LLN
An LLN typically spans a single floor in a commercial building.
Mobile devices may move within this LLN. For example, a wheelchair
may be moved from one room on the floor to another room on the same
floor.
A mobile LLN device that moves within the confines of the same LLN
SHOULD re-establish end-to-end communication with a fixed device also
in the LLN within 5 seconds after it ceases movement. The LLN
network convergence time should be less than 10 seconds once the
mobile device stops moving.
5.3.1.2. Device Mobility across LLNs
A mobile device may move across LLNs, such as a wheelchair being
moved to a different floor.
A mobile device that moves outside of its original LLN SHOULD re-
establish end-to-end communication with a fixed device also in the
new LLN within 10 seconds after the mobile device ceases movement.
The network convergence time should be less than 20 seconds once the
mobile device stops moving.
Martocci, et al. Informational [Page 14]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.4. Resource Constrained Devices
Sensing and actuator device processing power and memory may be 4
orders of magnitude less (i.e., 10,000x) than many more traditional
client devices on an IP network. The routing mechanisms must
therefore be tailored to fit these resource constrained devices.
5.4.1. Limited Memory Footprint on Host Devices
The software size requirement for non-routing devices (e.g., sleeping
sensors and actuators) SHOULD be implementable in 8-bit devices with
no more than 128 KB of memory.
5.4.2. Limited Processing Power for Routers
The software size requirements for routing devices (e.g., room
controllers) SHOULD be implementable in 8-bit devices with no more
than 256 KB of flash memory.
5.4.3. Sleeping Devices
Sensing devices will, in some cases, utilize battery power or energy
harvesting techniques for power and will operate mostly in a sleep
mode to maintain power consumption within a modest budget. The
routing protocol MUST take into account device characteristics such
as power budget.
Typically, sensor battery life (2,000 mAh) needs to extend for at
least 5 years when the device is transmitting its data (200 octets)
once per minute over a low-power transceiver (25 mA) and expecting an
application acknowledgment. In this case, the transmitting device
must leave its receiver in a high-powered state, awaiting the return
of the application ACK. To minimize this latency, a highly efficient
routing protocol that minimizes hops, and hence end-to-end
communication, is required. The routing protocol MUST take into
account node properties, such as "low-powered node", that produce
efficient low-latency routes that minimize radio "on" time for these
devices.
Sleeping devices MUST be able to receive inbound data. Messages sent
to battery-powered nodes MUST be buffered by the last-hop router for
a period of at least 20 seconds when the destination node is
currently in its sleep cycle.
Martocci, et al. Informational [Page 15]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.5. Addressing
Building management systems require different communication schemes
to solicit or post network information. Multicasts or anycasts need
to be used to decipher unresolved references within a device when the
device first joins the network.
As with any network communication, multicasting should be minimized.
This is especially a problem for small embedded devices with limited
network bandwidth. Multicasts are typically used for network joins
and application binding in embedded systems. Routing MUST support
anycast, unicast, and multicast.
5.6. Manageability
As previously noted in Section 3.3, installation of LLN devices
within a BMS follows an "outside-in" work flow. Edge devices are
installed first and tested for communication and application
integrity. These devices are then aggregated into islands, then
LLNs, and later affixed onto the enterprise network.
The need for diagnostics most often occurs during the installation
and commissioning phase, although at times diagnostic information may
be requested during normal operation. Battery-powered wireless
devices typically will have a self-diagnostic mode that can be
initiated via a button press on the device. The device will display
its link status and/or end-to-end connectivity when the button is
pressed. Lines-powered devices will continuously display
communication status via a bank of LEDs, possibly denoting signal
strength and end-to-end application connectivity.
The local diagnostics noted above oftentimes are suitable for
defining room-level networks. However, as these devices aggregate,
system-level diagnostics may need to be executed to ameliorate route
vacillation, excessive hops, communication retries, and/or network
bottlenecks.
In operational networks, due to the mission-critical nature of the
application, the LLN devices will be temporally monitored by the
higher layers to assure that communication integrity is maintained.
Failure to maintain this communication will result in an alarm being
forwarded to the enterprise network from the monitoring node for
analysis and remediation.
Martocci, et al. Informational [Page 16]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
In addition to the initial installation and commissioning of the
system, it is equally important for the ongoing maintenance of the
system to be simple and inexpensive. This implies a straightforward
device swap when a failed device is replaced, as noted in Section
5.1.3.
5.6.1. Diagnostics
To improve diagnostics, the routing protocol SHOULD be able to be
placed in and out of "verbose" mode. Verbose mode is a temporary
debugging mode that provides additional communication information
including, at least, the total number of routed packets sent and
received, the number of routing failures (no route available),
neighbor table members, and routing table entries. The data provided
in verbose mode should be sufficient that a network connection graph
could be constructed and maintained by the monitoring node.
Diagnostic data should be kept by the routers continuously and be
available for solicitation at any time by any other node on the
internetwork. Verbose mode will be activated/deactivated via
unicast, multicast, or other means. Devices having available
resources may elect to support verbose mode continuously.
5.6.2. Route Tracking
Route diagnostics SHOULD be supported, providing information such as
route quality, number of hops, and available alternate active routes
with associated costs. Route quality is the relative measure of
"goodness" of the selected source to destination route as compared to
alternate routes. This composite value may be measured as a function
of hop count, signal strength, available power, existing active
routes, or any other criteria deemed by ROLL as the route cost
differentiator.
5.7. Route Selection
Route selection determines reliability and quality of the
communication among the devices by optimizing routes over time and
resolving any nuances developed at system startup when nodes are
asynchronously adding themselves to the network.
5.7.1. Route Cost
The routing protocol MUST support a metric of route quality and
optimize selection according to such metrics within constraints
established for links along the routes. These metrics SHOULD reflect
metrics such as signal strength, available bandwidth, hop count,
energy availability, and communication error rates.
Martocci, et al. Informational [Page 17]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.7.2. Route Adaptation
Communication routes MUST be adaptive and converge toward optimality
of the chosen metric (e.g., signal quality, hop count) in time.
5.7.3. Route Redundancy
The routing layer SHOULD be configurable to allow secondary and
tertiary routes to be established and used upon failure of the
primary route.
5.7.4. Route Discovery Time
Mission-critical commercial applications (e.g., fire, security)
require reliable communication and guaranteed end-to-end delivery of
all messages in a timely fashion. Application-layer time-outs must
be selected judiciously to cover anomalous conditions such as lost
packets and/or route discoveries, yet not be set too large to over-
damp the network response. If route discovery occurs during packet
transmission time (reactive routing), it SHOULD NOT add more than 120
ms of latency to the packet delivery time.
5.7.5. Route Preference
The routing protocol SHOULD allow for the support of manually
configured static preferred routes.
5.7.6. Real-Time Performance Measures
A node transmitting a "request with expected reply" to another node
must send the message to the destination and receive the response in
not more than 120 ms. This response time should be achievable with 5
or less hops in each direction. This requirement assumes network
quiescence and a negligible turnaround time at the destination node.
5.7.7. Prioritized Routing
Network and application packet routing prioritization must be
supported to assure that mission-critical applications (e.g., fire
detection) cannot be deferred while less critical applications access
the network. The routing protocol MUST be able to provide routes
with different characteristics, also referred to as Quality of
Service (QoS) routing.
Martocci, et al. Informational [Page 18]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.8. Security Requirements
This section sets forth specific requirements that are placed on any
protocols developed or used in the ROLL building environment, in
order to ensure adequate security and retain suitable flexibility of
use and function of the protocol.
Due to the variety of buildings and tenants, the BMSs must be
completely configurable on-site.
Due to the quantity of the BMS devices (thousands) and their
inaccessibility (oftentimes above ceilings), security configuration
over the network is preferred over local configuration.
Wireless encryption and device authentication security policies need
to be considered in commercial buildings, while keeping in mind the
impact on the limited processing capabilities and additional latency
incurred on the sensors, actuators, and controllers.
BMSs are typically highly configurable in the field, and hence the
security policy is most often dictated by the type of building to
which the BMS is being installed. Single-tenant owner-occupied
office buildings installing lighting or HVAC control are candidates
for implementing a low level of security on the LLN, especially when
the LLN is not connected to an external network. Antithetically,
military or pharmaceutical facilities require strong security
policies. As noted in the installation procedures described in
Sections 3.3 and 5.2, security policies MUST support dynamic
configuration to allow for a low level of security during the
installation phase (prior to building occupancy, when it may be
appropriate to use only diagnostic levels of security), yet to make
it possible to easily raise the security level network-wide during
the commissioning phase of the system.
5.8.1. Building Security Use Case
LLNs for commercial building applications should always implement and
use encrypted packets. However, depending on the state of the LLN,
the security keys may either be:
1) a key obtained from a trust center already operable on the LLN;
2) a pre-shared static key as defined by the general contractor or
its designee; or
3) a well-known default static key.
Martocci, et al. Informational [Page 19]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Unless a node entering the network had previously received its
credentials from the trust center, the entering node will try to
solicit the trust center for the network key. If the trust center is
accessible, the trust center will MAC-authenticate the entering node
and return the security keys. If the trust center is not available,
the entering node will check to determine if it has been given a
network key by an off-band means and use it to access the network.
If no network key has been configured in the device, it will revert
to the default network key and enter the network. If neither of
these keys were valid, the device would signal via a fault LED.
This approach would allow for independent simplified commissioning,
yet centralized authentication. The building owner or building type
would then dictate when the trust center would be deployed. In many
cases, the trust center need not be deployed until all of the local
room commissioning is complete. Yet, at the province of the owner,
the trust center may be deployed from the onset, thereby trading
installation and commissioning flexibility for tighter security.
5.8.2. Authentication
Authentication SHOULD be optional on the LLN. Authentication SHOULD
be fully configurable on-site. Authentication policy and updates
MUST be routable over-the-air. Authentication SHOULD occur upon
joining or rejoining a network. However, once authenticated, devices
SHOULD NOT need to reauthenticate with any other devices in the LLN.
Packets may need authentication at the source and destination nodes;
however, packets routed through intermediate hops should not need
reauthentication at each hop.
These requirements mean that at least one LLN routing protocol
solution specification MUST include support for authentication.
5.8.3. Encryption
5.8.3.1. Encryption Types
Data encryption of packets MUST be supported by all protocol solution
specifications. Support can be provided by use of a network-wide key
and/or an application key. The network key would apply to all
devices in the LLN. The application key would apply to a subset of
devices in the LLN.
The network key and application key would be mutually exclusive. The
routing protocol MUST allow routing a packet encrypted with an
application key through forwarding devices without requiring each
node in the route to have the application key.
Martocci, et al. Informational [Page 20]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
5.8.3.2. Packet Encryption
The encryption policy MUST support either encryption of the payload
only or of the entire packet. Payload-only encryption would
eliminate the decryption/re-encryption overhead at every hop,
providing more real-time performance.
5.8.4. Disparate Security Policies
Due to the limited resources of an LLN, the security policy defined
within the LLN MUST be able to differ from that of the rest of the IP
network within the facility, yet packets MUST still be able to route
to or through the LLN from/to these networks.
5.8.5. Routing Security Policies to Sleeping Devices
The routing protocol MUST gracefully handle routing temporal security
updates (e.g., dynamic keys) to sleeping devices on their "awake"
cycle to assure that sleeping devices can readily and efficiently
access the network.
6. Security Considerations
The requirements placed on the LLN routing protocol in order to
provide the correct level of security support are presented in
Section 5.8.
LLNs deployed in a building environment may be entirely isolated from
other networks, attached to normal IP networks within the building
yet physically disjoint from the wider Internet, or connected either
directly or through other IP networks to the Internet. Additionally,
even where no wired connectivity exists outside of the building, the
use of wireless infrastructure within the building means that
physical connectivity to the LLN is possible for an attacker.
Therefore, it is important that any routing protocol solution
designed to meet the requirements included in this document addresses
the security features requirements described in Section 5.8.
Implementations of these protocols will be required in the protocol
specifications to provide the level of support indicated in Section
5.8, and will be encouraged to make the support flexibly configurable
to enable an operator to make a judgment of the level of security
that they want to deploy at any time.
As noted in Section 5.8, use/deployment of the different security
features is intended to be optional. This means that, although the
protocols developed must conform to the requirements specified, the
operator is free to determine the level of risk and the trade-offs
Martocci, et al. Informational [Page 21]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
against performance. An implementation must not make those choices
on behalf of the operator by avoiding implementing any mandatory-to-
implement security features.
This informational requirements specification introduces no new
security concerns.
7. Acknowledgments
In addition to the authors, JP. Vasseur, David Culler, Ted Humpal,
and Zach Shelby are gratefully acknowledged for their contributions
to this document.
8. References
8.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
8.2. Informative References
[ROLL-TERM] Vasseur, JP., "Terminology in Low power And Lossy
Networks", Work in Progress, March 2010.
Martocci, et al. Informational [Page 22]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Appendix A. Additional Building Requirements
Appendix A contains additional building requirements that were deemed
out of scope for ROLL, yet provided ancillary substance for the
reader.
A.1. Additional Commercial Product Requirements
A.1.1. Wired and Wireless Implementations
Vendors will likely not develop a separate product line for both
wired and wireless networks. Hence, the solutions set forth must
support both wired and wireless implementations.
A.1.2. World-Wide Applicability
Wireless devices must be supportable unlicensed bands.
A.2. Additional Installation and Commissioning Requirements
A.2.1. Unavailability of an IP Network
Product commissioning must be performed by an application engineer
prior to the installation of the IP network (e.g., switches, routers,
DHCP, DNS).
A.3. Additional Network Requirements
A.3.1. TCP/UDP
Connection-based and connectionless services must be supported.
A.3.2. Interference Mitigation
The network must automatically detect interference and seamlessly
switch the channel to improve communication. Channel changes, and
the nodes' responses to a given channel change, must occur within 60
seconds.
Martocci, et al. Informational [Page 23]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
A.3.3. Packet Reliability
In building automation, it is required that the network meet the
following minimum criteria:
<1% MAC-layer errors on all messages, after no more than three
retries;
<0.1% network-layer errors on all messages, after no more than three
additional retries;
<0.01% application-layer errors on all messages.
Therefore, application-layer messages will fail no more than once
every 100,000 messages.
A.3.4. Merging Commissioned Islands
Subsystems are commissioned by various vendors at various times
during building construction. These subnetworks must seamlessly
merge into networks and networks must seamlessly merge into
internetworks since the end user wants a holistic view of the system.
A.3.5. Adjustable Routing Table Sizes
The routing protocol must allow constrained nodes to hold an
abbreviated set of routes. That is, the protocol should not mandate
that the node routing tables be exhaustive.
A.3.6. Automatic Gain Control
For wireless implementations, the device radios should incorporate
automatic transmit power regulation to maximize packet transfer and
minimize network interference, regardless of network size or density.
A.3.7. Device and Network Integrity
Commercial-building devices must all be periodically scanned to
assure that each device is viable and can communicate data and alarm
information as needed. Routers should maintain previous packet flow
information temporally to minimize overall network overhead.
A.4. Additional Performance Requirements
A.4.1. Data Rate Performance
An effective data rate of 20 kbit/s is the lowest acceptable
operational data rate on the network.
Martocci, et al. Informational [Page 24]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
A.4.2. Firmware Upgrades
To support high-speed code downloads, routing should support
transports that provide parallel downloads to targeted devices, yet
guarantee packet delivery. In cases where the spatial position of
the devices requires multiple hops, the algorithm should recurse
through the network until all targeted devices have been serviced.
Devices receiving a download may cease normal operation, but upon
completion of the download must automatically resume normal
operation.
A.4.3. Route Persistence
To eliminate high network traffic in power-fail or brown-out
conditions, previously established routes should be remembered and
invoked prior to establishing new routes for those devices re-
entering the network.
Martocci, et al. Informational [Page 25]
^L
RFC 5867 Building Automation Routing Requirements in LLNs June 2010
Authors' Addresses
Jerry Martocci
Johnson Controls Inc.
507 E. Michigan Street
Milwaukee, WI 53202
USA
Phone: +1 414 524 4010
EMail: jerald.p.martocci@jci.com
Pieter De Mil
Ghent University - IBCN
G. Crommenlaan 8 bus 201
Ghent 9050
Belgium
Phone: +32 9331 4981
Fax: +32 9331 4899
EMail: pieter.demil@intec.ugent.be
Nicolas Riou
Schneider Electric
Technopole 38TEC T3
37 quai Paul Louis Merlin
38050 Grenoble Cedex 9
France
Phone: +33 4 76 57 66 15
EMail: nicolas.riou@fr.schneider-electric.com
Wouter Vermeylen
Arts Centre Vooruit
Ghent 9000
Belgium
EMail: wouter@vooruit.be
Martocci, et al. Informational [Page 26]
^L
|