Top Banner
C. Pham (LIUPPA lab, University of Pau) and P. Cousin (EGM) IEEE iThing 2013, Beijing, China, August 20-23, 2013 Streaming the Sound of Smart Cities: Experimentations on the SmartSantander test-bed
43

Streaming the Sound of Smart Cities:

Dec 15, 2016

Download

Documents

vancong
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Streaming the Sound of Smart Cities:

C. Pham (LIUPPA lab, University of Pau) and P. Cousin (EGM) IEEE iThing 2013, Beijing, China, August 20-23, 2013

Streaming the Sound of Smart Cities: Experimentations on the SmartSantander test-bed

Page 2: Streaming the Sound of Smart Cities:

the sounds of smart environments

EAR-IT

Page 3: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 4: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 5: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 6: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 7: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 8: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander test-bed

Page 9: Streaming the Sound of Smart Cities:

the sounds of smart environments

ATmega1281 microcontroller

8Mhz, 4K RAM & 2G SD card.

2.4GHz IEEE 802.15.4 XBee

Libelium API v031

Images are from Libelium company!

SmartSantander IoT node

Page 10: Streaming the Sound of Smart Cities:

the sounds of smart environments

ATmega1281 microcontroller

8Mhz, 4K RAM & 2G SD card.

2.4GHz IEEE 802.15.4 XBee

Libelium API v031

Images are from Libelium company!

SmartSantander IoT node

Page 11: Streaming the Sound of Smart Cities:

the sounds of smart environments

SmartSantander network qualification

•  What we have •  Mesh configuration of IoT and gateways •  IoT nodes rely on IEEE 802.15.4 radio

•  Radio modules are Xbee from Digi

•  What we want to know •  Upper bounds on sending and receiving throughput •  Performances in a networked environment

•  Impact of API on performances

•  Where are the limitations? •  To what extend audio traffic can be supported?

Page 12: Streaming the Sound of Smart Cities:

the sounds of smart environments

Phase 1: IoT node qualification

•  Phase 1 •  Determine upper bounds on performances of a

single IoT node •  Determine upper bounds on performances of

multi-hop transmissions Traffic Generators Sniffers Advanced timing

Page 13: Streaming the Sound of Smart Cities:

the sounds of smart environments

Phase 2: network qualification

•  Phase 2 •  Performances in a networked

environment: node density, traffic loads •  Use representive locations in

Santander for on-site test campaigns

•  Deploy on IoT nodes traffic generators & sniffers

•  Use mobile traffic generators & sniffers for dynamic traffic patterns

•  Throughput, packet losses, latency,…

Page 14: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (1)

Libelium WaspMote

Arduino Mega2560

Page 15: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (1)

Libelium WaspMote

Arduino Mega2560

Page 16: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (1)

Libelium WaspMote

Arduino Mega2560

Page 17: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (1)

Libelium WaspMote

Arduino Mega2560

Page 18: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (2)

Page 19: Streaming the Sound of Smart Cities:

the sounds of smart environments

IoT node WaspMote (2)

Page 20: Streaming the Sound of Smart Cities:

the sounds of smart environments

Technology comparison

Libelium WaspMote

Arduino Mega2560

Xbee 802.15.4

Xbee DigiMesh

Page 21: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-Hop Packet Forwarding?

2 3

1

1 1

2

2 2

3 3

3

From ear-it project!

Page 22: Streaming the Sound of Smart Cities:

the sounds of smart environments

HELP!!

Multi-Hop Packet Forwarding?

2 3

1

1 1

2

2 2

3 3

3

From ear-it project!

Page 23: Streaming the Sound of Smart Cities:

the sounds of smart environments

HELP!!

Multi-Hop Packet Forwarding?

2 3

1

1 1

2

2 2

3 3

3

Holes in deployment Limited buffers Multi-hop overhead Congestion Channel contention Duty-cycling MAC Physical interference Small PDU Nodes availability …

?

From ear-it project!

Page 24: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-hop audio

Sends an audio file Relay

Relay

Play received !file

Page 25: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-hop audio

Sends an audio file Relay

Relay

Play received !file

1

1 tread trelay

1 tprocessing

Page 26: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-hop overheads

Page 27: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-hop overheads

Page 28: Streaming the Sound of Smart Cities:

the sounds of smart environments

Multi-hop overheads

Page 29: Streaming the Sound of Smart Cities:

the sounds of smart environments

Sender node

Fully configurable: File to send Size of packet chunk Inter-packet delay Image/Binary mode Destination node Clock synchronization

Page 30: Streaming the Sound of Smart Cities:

the sounds of smart environments

Relay nodes

Fully configurable: Destination node Additional relay delay Clock synchronization

Libelium WaspMote

Page 31: Streaming the Sound of Smart Cities:

the sounds of smart environments

Sink node

Linux PC/Laptop with !USB/Serial gateway

Page 32: Streaming the Sound of Smart Cities:

the sounds of smart environments

Audio encoding

•  Need a really low rate audio encoding scheme •  PCM is 64kbps, GSM 6.1 is 13kbps, can be lowered to 6kbps •  We use an open-source codec

•  codec2: http://codec2.org •  Can be as low as 1400bps (1600, 2400 and 3400bps available) •  All encoding/decoding tools are available in code source •  Encoded file is robust against packet losses

Page 33: Streaming the Sound of Smart Cities:

the sounds of smart environments

Audio encoding

•  Need a really low rate audio encoding scheme •  PCM is 64kbps, GSM 6.1 is 13kbps, can be lowered to 6kbps •  We use an open-source codec

•  codec2: http://codec2.org •  Can be as low as 1400bps (1600, 2400 and 3400bps available) •  All encoding/decoding tools are available in code source •  Encoded file is robust against packet losses

Page 34: Streaming the Sound of Smart Cities:

the sounds of smart environments

Can we meet the constraints?

Page 35: Streaming the Sound of Smart Cities:

the sounds of smart environments

Test on SmartSantander

Page 36: Streaming the Sound of Smart Cities:

the sounds of smart environments

Test on SmartSantander

Page 37: Streaming the Sound of Smart Cities:

the sounds of smart environments

Test campaign – April 9th-10th 2013

Page 38: Streaming the Sound of Smart Cities:

the sounds of smart environments

Software for audio streaming

> XBeeReceive –B test2400.bit!> c2dec 2400 –B test2400.bit - | play -t raw -r 8000 -s -2 -!!!> XBeeReceive –B -stdout test2400.bit | bfr -b1k -m2% - |c2dec 2400 - - | play -t raw -r 8000 -s -2 -!

Sends an audio!file Relay

Relay

Play received !file

Store & Play

Streaming

Page 39: Streaming the Sound of Smart Cities:

the sounds of smart environments

Software for audio streaming

> XBeeReceive –B test2400.bit!> c2dec 2400 –B test2400.bit - | play -t raw -r 8000 -s -2 -!!!> XBeeReceive –B -stdout test2400.bit | bfr -b1k -m2% - |c2dec 2400 - - | play -t raw -r 8000 -s -2 -!

Sample Audio: 13s!PCM = 104000B!Codec2 at 2400 is 3900B

Sends an audio!file Relay

Relay

Play received !file

Store & Play

Streaming

Need to reduce the !Packet size to limit!Impact of packet losses

Page 40: Streaming the Sound of Smart Cities:

the sounds of smart environments

1-hop results

“EAR-IT” at http://web.univ-pau.fr/~cpham/SmartSantanderSample/

Page 41: Streaming the Sound of Smart Cities:

the sounds of smart environments

2-hop results

“EAR-IT” at http://web.univ-pau.fr/~cpham/SmartSantanderSample/

Page 42: Streaming the Sound of Smart Cities:

the sounds of smart environments

Conclusions

•  Receiver throughput is low and a maximum of 8kbps can be achieved without packet losses

•  Low bit rate codecs for voices can be streamed from source to gateway provided that contention on radio links is low

•  Multi-source is challenging

Page 43: Streaming the Sound of Smart Cities:

Questions ?