Real ¡World ¡ IoT ¡Systems ¡
Danny ¡Hughes ¡ danny.hughes@cs.kuleuven.be ¡ iMinds-‑DistriNet ¡ KU ¡Leuven ¡
Real World IoT Systems Danny Hughes - - PowerPoint PPT Presentation
Real World IoT Systems Danny Hughes danny.hughes@cs.kuleuven.be iMinds-DistriNet KU Leuven Structure 1. Hardware Pla<orms 2. Network Protocols 3. OperaCng Systems
Danny ¡Hughes ¡ danny.hughes@cs.kuleuven.be ¡ iMinds-‑DistriNet ¡ KU ¡Leuven ¡
power, ¡flexibility, ¡familiarity ¡ smaller, ¡cheaper, ¡longer ¡life7me ¡
ARM920T ¡ 32bit, ¡180MHz, ¡512KB ¡ RAM, ¡ ¡4MB ¡Flash. ¡ CC2538 ¡ 32bit, ¡32MHz, ¡32KB ¡ RAM, ¡512KB ¡Flash. ¡ MSP430L092 ¡ 16bit, ¡4MHz, ¡2KB ¡ RAM, ¡ ¡2KB ¡Flash. ¡ Atmel128RFA1 ¡ 8bit, ¡20MHz, ¡16KB ¡ RAM, ¡ ¡128KB ¡Flash ¡
solve ¡all ¡of ¡our ¡ problems? ¡
remains ¡a ¡
works ¡in ¡two ¡ direcCons! ¡ We ¡are ¡aiming ¡to ¡idenCfy ¡a ¡ minimum ¡viable ¡specifica>on. ¡
light ¡enough ¡to ¡
camera… ¡or ¡a ¡ small ¡bomb? ¡
baZery ¡shelf ¡life. ¡
– Work ¡within ¡the ¡ leakage ¡current. ¡
provide ¡4 ¡x ¡lifeCme ¡ within ¡5 ¡years. ¡
– But ¡power ¡budget ¡ remains ¡very ¡low. ¡
Low ¡power ¡enables ¡novel ¡ ideas ¡like ¡HiJack ¡[Ver12] ¡
dominates ¡power ¡
significant, ¡especially ¡ for ¡encrypCon. ¡
expensive ¡to ¡write ¡to. ¡ See ¡[Mai02] ¡
Mote ¡ Crypto ¡Engine ¡ Interconnect ¡ MSP430L092 ¡ NONE ¡ N/A ¡ Atmel128RFA1 ¡ AES ¡ On-‑Chip ¡ CC2538 ¡ AES ¡ On-‑Chip ¡ ARM920T ¡ NONE ¡ N/A ¡
every ¡light-‑bulb ¡is ¡a ¡micro-‑cell. ¡
bit ¡rate ¡communicaCon. ¡
– 2.4GHz ¡ISM* ¡band ¡with ¡16 ¡channels. ¡ – 127 ¡byte ¡frame ¡size. ¡ – Vulnerable ¡to ¡interference ¡and ¡mulC-‑ path ¡fading. ¡
Technique ¡ Advantages ¡ Disadvantages ¡ Time ¡SloZed ¡ Low ¡latency ¡ Energy ¡hungry*, ¡ low ¡reliability ¡ Low ¡Power ¡ Listening ¡ Instant ¡setup, ¡ ¡ low ¡energy, ¡
Low ¡reliability, ¡ high ¡latency ¡ Time ¡Synchronized ¡ Channel ¡Hopping ¡ DeterminisCc, ¡ high ¡reliability, ¡ low ¡Energy ¡ Currently ¡staCc ¡ slow ¡setup ¡ non-‑mobile ¡
– 10 ¡year ¡baZery ¡life. ¡ – 99.999% ¡reliability. ¡ – Custom ¡bandwidth ¡
– You ¡have ¡a ¡heartbeat. ¡ – Messaging ¡at ¡this ¡rate ¡is ¡free. ¡
– OpenWSN ¡ ¡= ¡±300μs ¡ – LTC5800 ¡ ¡ ¡ ¡= ¡ ¡±100μs ¡ » ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡= ¡ ¡±1μs ¡
protocol ¡(or ¡is ¡it ¡a ¡transport ¡layer ¡protocol)? ¡
plus ¡OBSERVE ¡operaCons. ¡
– One-‑to-‑many ¡communicaCon. ¡ – Simple ¡reliability ¡mechanisms. ¡ – Supports ¡caching. ¡ – Packet-‑based. ¡
APPROACH ¡ SECURITY ¡LEVEL ¡ EXAMPLE ¡SYSTEMS ¡ Single ¡Shared ¡Key ¡ Lowest ¡ Bad ¡Zigbee ¡ Shared ¡Join ¡Key, ¡ Unique ¡Session ¡Key ¡ Medium ¡ Good ¡Zigbee ¡ Unique ¡Join ¡Key, ¡ Unique ¡Session ¡Key ¡ Highest ¡ Smart ¡Mesh ¡IP, ¡ Thread ¡
Complexity ¡
We ¡are ¡not ¡ready ¡ for ¡this! ¡
to ¡cloud ¡database. ¡
system ¡to: ¡
– Provide ¡gateway ¡with ¡ unique ¡mote ¡key. ¡ – Update ¡ACL. ¡
arbitrary ¡interacCons. ¡
is ¡already ¡embedded ¡in ¡many ¡IoT ¡plahorms. ¡
– EncrypCng ¡in ¡sobware ¡ ¡ ¡= ¡1ms, ¡10uJ ¡ ¡ – EncrypCng ¡in ¡hardware ¡ ¡= ¡1μs, ¡1nJ ¡
hold ¡for ¡sloZed ¡and ¡TSCH. ¡
being ¡standardized ¡in ¡the ¡IETF. ¡
Name ¡ Modularity ¡ Concurrency ¡ Memory ¡ Protec>on ¡
RAM/ROM ¡
TinyOS ¡ StaCc ¡Image ¡ Event-‑based ¡ Available ¡ 1K/4K ¡ FreeRTOS ¡ StaCc ¡Image ¡ PreempCve ¡ MulC-‑ threading ¡ Available ¡ 1K/4K ¡ Con>ki ¡ Modular ¡ CooperaCve ¡ MulC-‑ threading ¡ None ¡ 2K/30K ¡ RIOT ¡ Modular ¡ PreempCve ¡ MulC-‑ threading ¡ None ¡ 2K/5K ¡
– One ¡actor ¡deploys ¡hardware ¡and ¡develops ¡sobware ¡to ¡ accomplish ¡one ¡mission. ¡
– One ¡actor ¡deploys ¡hardware ¡and ¡develops ¡sobware ¡to ¡ support ¡mulCple ¡missions. ¡
– One ¡actor ¡deploys ¡an ¡umbrella ¡network ¡for ¡3rd ¡parCes ¡ to ¡deploy ¡sensing ¡applicaCons. ¡
¡Good ¡support ¡ ¡Good ¡support ¡ ¡No ¡support ¡
Natanz ¡nuclear ¡facility, ¡ ¡ vicCm ¡of ¡StuxNet. ¡
Smart ¡lighCng, ¡hijacked ¡by ¡
How ¡long ¡unCl ¡even ¡these ¡ ¡ Guys ¡can ¡do ¡it? ¡
the ¡well ¡known ¡join ¡key ¡
– “ZigBeeAlliance09” ¡
Cme ¡reveals: ¡
– One ¡nodes ¡unicast ¡key. ¡ – Broadcast ¡keys. ¡
minimum ¡feature ¡set. ¡
[Ver12] ¡S. ¡Verma, ¡A. ¡Robinson, ¡P. ¡DuZa, ¡AudioDAQ: ¡ Turning ¡the ¡Mobile ¡Phone's ¡Ubiquitous ¡Headset ¡Port ¡ into ¡a ¡Universal ¡Data ¡AcquisiCon ¡Interface, ¡proc. ¡of ¡ Sensys'12. ¡ [Mai02] ¡A. ¡Mainwaring ¡et ¡al., ¡Wireless ¡Sensor ¡Networks ¡ for ¡Habitat ¡Monitoring, ¡in ¡proc. ¡of ¡WSNA’02 ¡ [Pis08] ¡K. ¡Pister, ¡L. ¡Doherty, ¡TSMP: ¡Time ¡Synchronized ¡ Mesh ¡Protocol, ¡proc. ¡of ¡DSN’08. ¡ [Vuc15] ¡M. ¡Vucinic ¡et. ¡al, ¡DTLS ¡Performance ¡in ¡Duty-‑ Cycled ¡Networks, ¡proc. ¡of ¡PIMRC’15. ¡