SlideShare uma empresa Scribd logo
1 de 22
Smart Environments withSmart Environments with
WSN and Smart-M3WSN and Smart-M3
Irene DonatiIrene Donati
Luca FaggianelliLuca Faggianelli
Wireless Sensor Networks M - ProjectWireless Sensor Networks M - Project
Implementation of a Wireless Sensor Network forImplementation of a Wireless Sensor Network for
rooms temperature monitoring by using MC1322xrooms temperature monitoring by using MC1322x
family zigbee wireless nodes from Freescale.family zigbee wireless nodes from Freescale.
Data sharing with Smart-M3: interoperable semanticData sharing with Smart-M3: interoperable semantic
platform, graph based, from Nokia Research Centerplatform, graph based, from Nokia Research Center
Towards global smart governor for house managementTowards global smart governor for house management
* www.beautifullife.info/urban-design/smart-house-with-amazing-ability-to-transform/* www.beautifullife.info/urban-design/smart-house-with-amazing-ability-to-transform/
Project scopeProject scope
- J-Tag port and in-circuit hw debug- J-Tag port and in-circuit hw debug
- UART communication on USB- UART communication on USB
- Joystick, buttons and LEDs- Joystick, buttons and LEDs
- Battery or power supply- Battery or power supply
- MMA7260Q 3-axis accelerometer- MMA7260Q 3-axis accelerometer
- MPXV5010G pressure and temperature- MPXV5010G pressure and temperature
MC1322x FamilyMC1322x Family ARM basedARM based
microcontrollers. Onchip radiomicrocontrollers. Onchip radio
2.4GHz IEEE 802.15.4 compliant2.4GHz IEEE 802.15.4 compliant
Wireless Sensor NodesWireless Sensor Nodes
Smart-M3Smart-M3 is an open-source project that aims to provide a Semanticis an open-source project that aims to provide a Semantic
Web information sharing infrastructure between software entities and devices. ItWeb information sharing infrastructure between software entities and devices. It
combines the ideas of distributed, networked systems and semantic web. Thecombines the ideas of distributed, networked systems and semantic web. The
ultimate goal is to enable smart environments and linking of real and virtual worlds.ultimate goal is to enable smart environments and linking of real and virtual worlds.
““
””- Wikipedia- Wikipedia
Graph Store
Devices
Interoperability
Smart-M3 architectureSmart-M3 architecture
Smart Space
Agents
Smart-M3Smart-M3
Classic DB operationsClassic DB operations
++
SubscriptionSubscription systemsystem
on data removal andon data removal and
insertioninsertion
Physical devices
and software
services (web
applications, etc)
Graph StoreGraph Store
Graph Store
<Subj> <Predicate> <Object><Subj> <Predicate> <Object>
<Node> <Edge> <Node><Node> <Edge> <Node>
<Sue> <Listen> <Spotify><Sue> <Listen> <Spotify>
<Sue> <Cook> <Cookies><Sue> <Cook> <Cookies>
Data is organized inData is organized in
triplestriples notnot in tablesin tables
with columns and rows.with columns and rows.
Graphs are queried inGraphs are queried in
a language calleda language called
SPARQL.SPARQL.
NodeNode
EdgeEdge
Sensors deployedSensors deployed
all around theall around the
househouse
Sensors DeploymentSensors Deployment
Nodes are connected to theNodes are connected to the
coordinator in acoordinator in a star topologystar topology, due, due
to its simplicity and to the size of theto its simplicity and to the size of the
househouseCoordinatorCoordinator
Smart-M3 interfaceSmart-M3 interface
CoordinatorCoordinator
UART
M3 Agent
Smart-M3
Client
TCP
TCP
Smart-M3 storage may be
anywhere: it is accessible over
HTTPS.
Coordinator - M3 AgentCoordinator - M3 Agent
CoordinatorCoordinator
16bit Signed16bit Signed
Fixed PointFixed Point
1/100 precision1/100 precision
NumberNumber
of samplesof samples
MACMAC
OptionalOptional
XORXOR
M3 AgentM3 Agent
N(1)N(1) Device(8)Device(8) TEMP(1*N)TEMP(1*N) LRC(0-1)LRC(0-1)
MSGMSG
UART USB
START byte 0xFFSTART byte 0xFF
ESCAPE byte 0xEEESCAPE byte 0xEE
●
M3 Agent collects data from PANM3 Agent collects data from PAN
Coordinator over UARTCoordinator over UART
●
Python script with PySerialPython script with PySerial
●
HW requirements: USB/UART and TCPHW requirements: USB/UART and TCP
communication (e.g.: Raspberry PI ARMcommunication (e.g.: Raspberry PI ARM
based board)based board)
M3 Agent - Smart-M3M3 Agent - Smart-M3
●
M3 Agent communicates with Smart-M3 Agent communicates with Smart-
M3 through Python API (available inM3 through Python API (available in
JAVA, PHP, etc)JAVA, PHP, etc)
●
TCP communication, Smart-M3 mayTCP communication, Smart-M3 may
be anywherebe anywhere
M3 AgentM3 Agent
GraphGraph
TCP TCP
Smart-M3
Serialized in XML
with SSAP
protocol
SensorData_123abcSensorData_123abc
Sensor_456dcfSensor_456dcf
Temperature
25
°C
HasMeasurandHasMeasurandHasMeasurandHasMeasurand
HasValueHasValueHasValueHasValue
HasUnitOfMeasureHasUnitOfMeasureHasUnitOfMeasureHasUnitOfMeasure
HasDataHasDataHasDataHasData 01:23:45:67:89:ab
HasMACHasMACHasMACHasMAC
12-May-2013
HasTimeHasTimeHasTimeHasTime
Sensors Knowledge baseSensors Knowledge base
Machine-readableMachine-readable
knowledge bases storeknowledge bases store
knowledge in a computer-knowledge in a computer-
readable form, usually forreadable form, usually for
the purpose of havingthe purpose of having
automated deductiveautomated deductive
reasoning applied to them.reasoning applied to them.
They contain a set of data,They contain a set of data,
often in the form of rulesoften in the form of rules
that describe the knowledgethat describe the knowledge
in a logically consistentin a logically consistent
manner.manner.
Knowledge baseKnowledge base
Sensor_456dcfSensor_456dcf
Room_1234
Pool room
Sensor_123rtg
Room_1234
Dining room
LocatedInLocatedInLocatedInLocatedIn
NameNameNameName
Containment predicateContainment predicate
Deductive ReasoningDeductive Reasoning
Sensor_456dcfSensor_456dcf
Room_1234Room_1234
Pool roomPool room
SensorData_123abcSensorData_123abc
25
““The Pool room has a temperature of 25°C”The Pool room has a temperature of 25°C”
This information has never been stated, it has been deducted by theThis information has never been stated, it has been deducted by the
Smart Environment!Smart Environment!
Sensor_456dcf
Room_1234
Pool room25
The two information come from different worlds: it's not
correct and not convenient to mix them.
SensorData_123abc
HasSensorData
Knowledge base and data separationKnowledge base and data separation
?
Init ScanActive AssociateScanActive
Wait Confirm
Associate
Wait Confirm
Listen
SendDataSendData
Data rateData rate
1 TX each1 TX each
N cyclesN cycles
Counter = 0
Counter = 0
127
127
255255
End Device State MachineEnd Device State Machine
TemperatureTemperature
simulated fromsimulated from
arrayarray
Tunable dataTunable data
aggregationaggregation
Data buffer andData buffer and
counter: 1B percounter: 1B per
sample.sample.
Used values:Used values:
●
11
●
1010
STARTSTART
Init
ScanED
Start
Start
Coord
ScanED
Wait Confirm
Start Coord
Wait Confirm
SerialMSG()SerialMSG()
Coordinator State MachineCoordinator State Machine
N(1)N(1) Device(8)Device(8) TEMP(1*N)TEMP(1*N)
Prepare thePrepare the MSGMSG
and send it overand send it over
UARTUART End Device (short)End Device (short)
addressesaddresses sequentiallysequentially
assigned, using aassigned, using a
countercounter
Listen
MeasurementsMeasurements
PACKET..ET ACK
Measured time
SensingSensing
BackoffBackoff
Tuned throughput delayTuned throughput delay
Data aggregation counterData aggregation counter
TX timeTX timeTurnaroundTurnaround ACKACK
expected experimental
0
1000
2000
3000
4000
5000
6000
7000
2416
5396.97
3376
5817.14
2416
3398.543376
4020.69
Packet Rate 1/255 ,Packet size 1 Byte
TxTime[microsec]
expected experimental
0
500
1000
1500
2000
2500
3000
3500
4000
4500
2416
3986.53
3376
4241.6
2416
3076.43
3376
4060.02
Packet Rate 1/127 , Packet Size 1 Byte
TxTime[microsec]
expected experimental
0
5000
10000
15000
20000
25000
30000
35000
40000
45000
50000
2992
46616.53
3952
47552.53
2992
16081.41
3952
24382.18
Packet Rate 1/255, Packet Size 10 Byte
TxTime[microsec]
expected experimental
0
5000
10000
15000
20000
25000
30000
2992
23928
3952
25712.64
2992
8380.9
3952
15477.22
Packet Rate 1/127, Packet Size 10 Byte
TxTime[MicroSec]
D 1;BE_min 1
D 1;BE_min 3
D 3;BE_min 1
D 3;BE_min 3
D 1;BE_min 1
D 1;BE_min 3
D 3;BE_min 1
D 3;BE_min 3
Packets delayPackets delay
Measurements with 3 devices refers to entire PANMeasurements with 3 devices refers to entire PAN
ThroughputThroughput
Smart-M3 demoSmart-M3 demo
By increasing the value of BE_min from 0 to 3 :By increasing the value of BE_min from 0 to 3 :
●
the average delay of the transmission time increasesthe average delay of the transmission time increases
●
number of retransmissions decreasesnumber of retransmissions decreases
The average delay of transmission time doubles when passingThe average delay of transmission time doubles when passing
from TX frequency 1/127 (cycles of the state machine) tofrom TX frequency 1/127 (cycles of the state machine) to
1/255 (cycles of the state machine):1/255 (cycles of the state machine):
●
the delay introduced by the counter, used to manage thethe delay introduced by the counter, used to manage the
throughput , is not quantifiable. But since the average TX delaythroughput , is not quantifiable. But since the average TX delay
doubles when passing from a frequency throughput 1/127 todoubles when passing from a frequency throughput 1/127 to
1/225 (cycles of the state machine) we can assume that the1/225 (cycles of the state machine) we can assume that the
delay introduced by the counter is a constant parameterdelay introduced by the counter is a constant parameter
Experimental data analysis [1/2]Experimental data analysis [1/2]
The throughput is consistent to the model:The throughput is consistent to the model:
●
given the same frequency and packet size,given the same frequency and packet size,
decreasing BE_min the throughput is higher wrt to higher BE_mindecreasing BE_min the throughput is higher wrt to higher BE_min
Moreover we can see that it's more convenient to use dataMoreover we can see that it's more convenient to use data
aggregation. Since we get more measurements in less time and lessaggregation. Since we get more measurements in less time and less
TX packets which leads to energy saving.TX packets which leads to energy saving.
Experimental data analysis [2/2]Experimental data analysis [2/2]
We are not sure how to interpret the absence of re-TX for 10bytesWe are not sure how to interpret the absence of re-TX for 10bytes
data packets when 3 devices are TX anddata packets when 3 devices are TX and
No re-TX observed when using only 1ED, probably it is due to theNo re-TX observed when using only 1ED, probably it is due to the
delay added by the counter used to manage the throughput and todelay added by the counter used to manage the throughput and to
the counter for data aggregation,when presentthe counter for data aggregation,when present
Thanks for the attentionThanks for the attention

Mais conteúdo relacionado

Destaque

Naj hubaviq-kurs
Naj hubaviq-kursNaj hubaviq-kurs
Naj hubaviq-kurskursove123
 
Индустриальные парки Пензенской области
Индустриальные парки Пензенской областиИндустриальные парки Пензенской области
Индустриальные парки Пензенской областиВалерий Миронов
 
Boycott, Divestment & Sanctions
Boycott, Divestment & SanctionsBoycott, Divestment & Sanctions
Boycott, Divestment & SanctionsMarie Rioux
 
Kepemimpinan indonesia 2
Kepemimpinan indonesia 2Kepemimpinan indonesia 2
Kepemimpinan indonesia 2pumdatin
 
Contents page analysis
Contents page analysisContents page analysis
Contents page analysismollyclements_
 
Jim Peiser - Establishing Optimal Terms of Service and Privacy Policies
Jim Peiser - Establishing Optimal Terms of Service and Privacy PoliciesJim Peiser - Establishing Optimal Terms of Service and Privacy Policies
Jim Peiser - Establishing Optimal Terms of Service and Privacy Policiesregistechaccelerator
 
Mattrikulasi doktor statistik1
Mattrikulasi doktor statistik1Mattrikulasi doktor statistik1
Mattrikulasi doktor statistik1pumdatin
 
Caricaturas y series populares
Caricaturas y series popularesCaricaturas y series populares
Caricaturas y series popularesclaudimandy
 
Task 9 photos for my design
Task 9 photos for my designTask 9 photos for my design
Task 9 photos for my designmollyclements_
 
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013Mattrikulasi doktor statistik1 - bambang - 1 juni 2013
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013pumdatin
 
Matrikulasi iii
Matrikulasi iiiMatrikulasi iii
Matrikulasi iiipumdatin
 
Matrikulasi 2
Matrikulasi 2Matrikulasi 2
Matrikulasi 2pumdatin
 
Binghamton University Mobile Task Force
Binghamton University Mobile Task ForceBinghamton University Mobile Task Force
Binghamton University Mobile Task ForceDrew Hill
 

Destaque (20)

Naj hubaviq-kurs
Naj hubaviq-kursNaj hubaviq-kurs
Naj hubaviq-kurs
 
Индустриальные парки Пензенской области
Индустриальные парки Пензенской областиИндустриальные парки Пензенской области
Индустриальные парки Пензенской области
 
Boycott, Divestment & Sanctions
Boycott, Divestment & SanctionsBoycott, Divestment & Sanctions
Boycott, Divestment & Sanctions
 
The Human Brain: A Guided Tour
The Human Brain: A Guided TourThe Human Brain: A Guided Tour
The Human Brain: A Guided Tour
 
Kepemimpinan indonesia 2
Kepemimpinan indonesia 2Kepemimpinan indonesia 2
Kepemimpinan indonesia 2
 
Contents page analysis
Contents page analysisContents page analysis
Contents page analysis
 
Jim Peiser - Establishing Optimal Terms of Service and Privacy Policies
Jim Peiser - Establishing Optimal Terms of Service and Privacy PoliciesJim Peiser - Establishing Optimal Terms of Service and Privacy Policies
Jim Peiser - Establishing Optimal Terms of Service and Privacy Policies
 
Udgam Matters - April-May 2014
Udgam Matters - April-May 2014Udgam Matters - April-May 2014
Udgam Matters - April-May 2014
 
Task 7
Task 7Task 7
Task 7
 
Cuestionario jefe inventario
Cuestionario jefe inventarioCuestionario jefe inventario
Cuestionario jefe inventario
 
Mattrikulasi doktor statistik1
Mattrikulasi doktor statistik1Mattrikulasi doktor statistik1
Mattrikulasi doktor statistik1
 
Caricaturas y series populares
Caricaturas y series popularesCaricaturas y series populares
Caricaturas y series populares
 
Primary research
Primary researchPrimary research
Primary research
 
Task 9 photos for my design
Task 9 photos for my designTask 9 photos for my design
Task 9 photos for my design
 
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013Mattrikulasi doktor statistik1 - bambang - 1 juni 2013
Mattrikulasi doktor statistik1 - bambang - 1 juni 2013
 
Block designs perfume
Block designs perfumeBlock designs perfume
Block designs perfume
 
Analysis 2 perfumes
Analysis 2 perfumesAnalysis 2 perfumes
Analysis 2 perfumes
 
Matrikulasi iii
Matrikulasi iiiMatrikulasi iii
Matrikulasi iii
 
Matrikulasi 2
Matrikulasi 2Matrikulasi 2
Matrikulasi 2
 
Binghamton University Mobile Task Force
Binghamton University Mobile Task ForceBinghamton University Mobile Task Force
Binghamton University Mobile Task Force
 

Semelhante a Project

2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxyBo-Yi Wu
 
CQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveCQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveMaria Gomez
 
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)GulshanKumar368
 
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...buildacloud
 
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...AnilKumar109331
 
Thesis_presentation ctm tk sha.ppt
Thesis_presentation ctm tk sha.pptThesis_presentation ctm tk sha.ppt
Thesis_presentation ctm tk sha.pptKavitaChhajed
 
Thesis_presentation.ppt
Thesis_presentation.pptThesis_presentation.ppt
Thesis_presentation.pptMohdIshaq24
 
Thesis presentation of college iit ppt.ppt
Thesis presentation of college iit ppt.pptThesis presentation of college iit ppt.ppt
Thesis presentation of college iit ppt.pptAmanJohnTudu
 
Thesis_presentation.ppt
Thesis_presentation.pptThesis_presentation.ppt
Thesis_presentation.pptNishant Kumar
 
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...MDC_UNICA
 
Wireless Ad Hoc Networks
Wireless Ad Hoc NetworksWireless Ad Hoc Networks
Wireless Ad Hoc NetworksTara Hardin
 
Building a Cutting-Edge Data Process Environment on a Budget by Gael Varoquaux
Building a Cutting-Edge Data Process Environment on a Budget by Gael VaroquauxBuilding a Cutting-Edge Data Process Environment on a Budget by Gael Varoquaux
Building a Cutting-Edge Data Process Environment on a Budget by Gael VaroquauxPyData
 
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...SERENEWorkshop
 
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...Henry Muccini
 
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Boris Adryan
 
A multilevel security scheme using chaos based encryption and steganography f...
A multilevel security scheme using chaos based encryption and steganography f...A multilevel security scheme using chaos based encryption and steganography f...
A multilevel security scheme using chaos based encryption and steganography f...eSAT Journals
 
A multilevel security scheme using chaos based
A multilevel security scheme using chaos basedA multilevel security scheme using chaos based
A multilevel security scheme using chaos basedeSAT Publishing House
 
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESPERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESIRJET Journal
 

Semelhante a Project (20)

2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
2014 OSDC Talk: Introduction to Percona XtraDB Cluster and HAProxy
 
CQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspectiveCQRS and Event Sourcing: A DevOps perspective
CQRS and Event Sourcing: A DevOps perspective
 
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)Osi week10(1) [autosaved] by Gulshan  K Maheshwari(QAU)
Osi week10(1) [autosaved] by Gulshan K Maheshwari(QAU)
 
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...
Building Reliable Cloud Storage with Riak and CloudStack - Andy Gross, Chief ...
 
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...
POLYMER MODIFIED AND NEAT BITUMINOUS MIXES USING WARM MIX ASPHALT FOR PAVING ...
 
Thesis_presentation ctm tk sha.ppt
Thesis_presentation ctm tk sha.pptThesis_presentation ctm tk sha.ppt
Thesis_presentation ctm tk sha.ppt
 
Thesis_presentation.ppt
Thesis_presentation.pptThesis_presentation.ppt
Thesis_presentation.ppt
 
Thesis presentation of college iit ppt.ppt
Thesis presentation of college iit ppt.pptThesis presentation of college iit ppt.ppt
Thesis presentation of college iit ppt.ppt
 
Thesis_presentation.ppt
Thesis_presentation.pptThesis_presentation.ppt
Thesis_presentation.ppt
 
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
A Coarse-Grained Reconfigurable Wavelet Denoiser Exploiting the Multi-Dataflo...
 
Wireless Ad Hoc Networks
Wireless Ad Hoc NetworksWireless Ad Hoc Networks
Wireless Ad Hoc Networks
 
Building a Cutting-Edge Data Process Environment on a Budget by Gael Varoquaux
Building a Cutting-Edge Data Process Environment on a Budget by Gael VaroquauxBuilding a Cutting-Edge Data Process Environment on a Budget by Gael Varoquaux
Building a Cutting-Edge Data Process Environment on a Budget by Gael Varoquaux
 
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
 
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
SERENE 2014 School: Measurement-Driven Resilience Design of Cloud-Based Cyber...
 
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
Mehr und schneller ist nicht automatisch besser - data2day, 06.10.16
 
A multilevel security scheme using chaos based encryption and steganography f...
A multilevel security scheme using chaos based encryption and steganography f...A multilevel security scheme using chaos based encryption and steganography f...
A multilevel security scheme using chaos based encryption and steganography f...
 
A multilevel security scheme using chaos based
A multilevel security scheme using chaos basedA multilevel security scheme using chaos based
A multilevel security scheme using chaos based
 
SRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoTSRV408 Deep Dive on AWS IoT
SRV408 Deep Dive on AWS IoT
 
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUESPERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
PERFORMANCE ANALYSIS OF D-FLIP FLOP USING CMOS, GDI, DSTC TECHNIQUES
 
Serverless and IoT
Serverless and IoTServerless and IoT
Serverless and IoT
 

Último

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 

Project

  • 1. Smart Environments withSmart Environments with WSN and Smart-M3WSN and Smart-M3 Irene DonatiIrene Donati Luca FaggianelliLuca Faggianelli Wireless Sensor Networks M - ProjectWireless Sensor Networks M - Project
  • 2. Implementation of a Wireless Sensor Network forImplementation of a Wireless Sensor Network for rooms temperature monitoring by using MC1322xrooms temperature monitoring by using MC1322x family zigbee wireless nodes from Freescale.family zigbee wireless nodes from Freescale. Data sharing with Smart-M3: interoperable semanticData sharing with Smart-M3: interoperable semantic platform, graph based, from Nokia Research Centerplatform, graph based, from Nokia Research Center Towards global smart governor for house managementTowards global smart governor for house management * www.beautifullife.info/urban-design/smart-house-with-amazing-ability-to-transform/* www.beautifullife.info/urban-design/smart-house-with-amazing-ability-to-transform/ Project scopeProject scope
  • 3. - J-Tag port and in-circuit hw debug- J-Tag port and in-circuit hw debug - UART communication on USB- UART communication on USB - Joystick, buttons and LEDs- Joystick, buttons and LEDs - Battery or power supply- Battery or power supply - MMA7260Q 3-axis accelerometer- MMA7260Q 3-axis accelerometer - MPXV5010G pressure and temperature- MPXV5010G pressure and temperature MC1322x FamilyMC1322x Family ARM basedARM based microcontrollers. Onchip radiomicrocontrollers. Onchip radio 2.4GHz IEEE 802.15.4 compliant2.4GHz IEEE 802.15.4 compliant Wireless Sensor NodesWireless Sensor Nodes
  • 4. Smart-M3Smart-M3 is an open-source project that aims to provide a Semanticis an open-source project that aims to provide a Semantic Web information sharing infrastructure between software entities and devices. ItWeb information sharing infrastructure between software entities and devices. It combines the ideas of distributed, networked systems and semantic web. Thecombines the ideas of distributed, networked systems and semantic web. The ultimate goal is to enable smart environments and linking of real and virtual worlds.ultimate goal is to enable smart environments and linking of real and virtual worlds. ““ ””- Wikipedia- Wikipedia Graph Store Devices Interoperability Smart-M3 architectureSmart-M3 architecture Smart Space Agents Smart-M3Smart-M3 Classic DB operationsClassic DB operations ++ SubscriptionSubscription systemsystem on data removal andon data removal and insertioninsertion Physical devices and software services (web applications, etc)
  • 5. Graph StoreGraph Store Graph Store <Subj> <Predicate> <Object><Subj> <Predicate> <Object> <Node> <Edge> <Node><Node> <Edge> <Node> <Sue> <Listen> <Spotify><Sue> <Listen> <Spotify> <Sue> <Cook> <Cookies><Sue> <Cook> <Cookies> Data is organized inData is organized in triplestriples notnot in tablesin tables with columns and rows.with columns and rows. Graphs are queried inGraphs are queried in a language calleda language called SPARQL.SPARQL. NodeNode EdgeEdge
  • 6. Sensors deployedSensors deployed all around theall around the househouse Sensors DeploymentSensors Deployment Nodes are connected to theNodes are connected to the coordinator in acoordinator in a star topologystar topology, due, due to its simplicity and to the size of theto its simplicity and to the size of the househouseCoordinatorCoordinator
  • 7. Smart-M3 interfaceSmart-M3 interface CoordinatorCoordinator UART M3 Agent Smart-M3 Client TCP TCP Smart-M3 storage may be anywhere: it is accessible over HTTPS.
  • 8. Coordinator - M3 AgentCoordinator - M3 Agent CoordinatorCoordinator 16bit Signed16bit Signed Fixed PointFixed Point 1/100 precision1/100 precision NumberNumber of samplesof samples MACMAC OptionalOptional XORXOR M3 AgentM3 Agent N(1)N(1) Device(8)Device(8) TEMP(1*N)TEMP(1*N) LRC(0-1)LRC(0-1) MSGMSG UART USB START byte 0xFFSTART byte 0xFF ESCAPE byte 0xEEESCAPE byte 0xEE ● M3 Agent collects data from PANM3 Agent collects data from PAN Coordinator over UARTCoordinator over UART ● Python script with PySerialPython script with PySerial ● HW requirements: USB/UART and TCPHW requirements: USB/UART and TCP communication (e.g.: Raspberry PI ARMcommunication (e.g.: Raspberry PI ARM based board)based board)
  • 9. M3 Agent - Smart-M3M3 Agent - Smart-M3 ● M3 Agent communicates with Smart-M3 Agent communicates with Smart- M3 through Python API (available inM3 through Python API (available in JAVA, PHP, etc)JAVA, PHP, etc) ● TCP communication, Smart-M3 mayTCP communication, Smart-M3 may be anywherebe anywhere M3 AgentM3 Agent GraphGraph TCP TCP Smart-M3 Serialized in XML with SSAP protocol
  • 10. SensorData_123abcSensorData_123abc Sensor_456dcfSensor_456dcf Temperature 25 °C HasMeasurandHasMeasurandHasMeasurandHasMeasurand HasValueHasValueHasValueHasValue HasUnitOfMeasureHasUnitOfMeasureHasUnitOfMeasureHasUnitOfMeasure HasDataHasDataHasDataHasData 01:23:45:67:89:ab HasMACHasMACHasMACHasMAC 12-May-2013 HasTimeHasTimeHasTimeHasTime Sensors Knowledge baseSensors Knowledge base Machine-readableMachine-readable knowledge bases storeknowledge bases store knowledge in a computer-knowledge in a computer- readable form, usually forreadable form, usually for the purpose of havingthe purpose of having automated deductiveautomated deductive reasoning applied to them.reasoning applied to them. They contain a set of data,They contain a set of data, often in the form of rulesoften in the form of rules that describe the knowledgethat describe the knowledge in a logically consistentin a logically consistent manner.manner. Knowledge baseKnowledge base
  • 12. Deductive ReasoningDeductive Reasoning Sensor_456dcfSensor_456dcf Room_1234Room_1234 Pool roomPool room SensorData_123abcSensorData_123abc 25 ““The Pool room has a temperature of 25°C”The Pool room has a temperature of 25°C” This information has never been stated, it has been deducted by theThis information has never been stated, it has been deducted by the Smart Environment!Smart Environment!
  • 13. Sensor_456dcf Room_1234 Pool room25 The two information come from different worlds: it's not correct and not convenient to mix them. SensorData_123abc HasSensorData Knowledge base and data separationKnowledge base and data separation ?
  • 14. Init ScanActive AssociateScanActive Wait Confirm Associate Wait Confirm Listen SendDataSendData Data rateData rate 1 TX each1 TX each N cyclesN cycles Counter = 0 Counter = 0 127 127 255255 End Device State MachineEnd Device State Machine TemperatureTemperature simulated fromsimulated from arrayarray Tunable dataTunable data aggregationaggregation Data buffer andData buffer and counter: 1B percounter: 1B per sample.sample. Used values:Used values: ● 11 ● 1010
  • 15. STARTSTART Init ScanED Start Start Coord ScanED Wait Confirm Start Coord Wait Confirm SerialMSG()SerialMSG() Coordinator State MachineCoordinator State Machine N(1)N(1) Device(8)Device(8) TEMP(1*N)TEMP(1*N) Prepare thePrepare the MSGMSG and send it overand send it over UARTUART End Device (short)End Device (short) addressesaddresses sequentiallysequentially assigned, using aassigned, using a countercounter Listen
  • 16. MeasurementsMeasurements PACKET..ET ACK Measured time SensingSensing BackoffBackoff Tuned throughput delayTuned throughput delay Data aggregation counterData aggregation counter TX timeTX timeTurnaroundTurnaround ACKACK
  • 17. expected experimental 0 1000 2000 3000 4000 5000 6000 7000 2416 5396.97 3376 5817.14 2416 3398.543376 4020.69 Packet Rate 1/255 ,Packet size 1 Byte TxTime[microsec] expected experimental 0 500 1000 1500 2000 2500 3000 3500 4000 4500 2416 3986.53 3376 4241.6 2416 3076.43 3376 4060.02 Packet Rate 1/127 , Packet Size 1 Byte TxTime[microsec] expected experimental 0 5000 10000 15000 20000 25000 30000 35000 40000 45000 50000 2992 46616.53 3952 47552.53 2992 16081.41 3952 24382.18 Packet Rate 1/255, Packet Size 10 Byte TxTime[microsec] expected experimental 0 5000 10000 15000 20000 25000 30000 2992 23928 3952 25712.64 2992 8380.9 3952 15477.22 Packet Rate 1/127, Packet Size 10 Byte TxTime[MicroSec] D 1;BE_min 1 D 1;BE_min 3 D 3;BE_min 1 D 3;BE_min 3 D 1;BE_min 1 D 1;BE_min 3 D 3;BE_min 1 D 3;BE_min 3 Packets delayPackets delay Measurements with 3 devices refers to entire PANMeasurements with 3 devices refers to entire PAN
  • 20. By increasing the value of BE_min from 0 to 3 :By increasing the value of BE_min from 0 to 3 : ● the average delay of the transmission time increasesthe average delay of the transmission time increases ● number of retransmissions decreasesnumber of retransmissions decreases The average delay of transmission time doubles when passingThe average delay of transmission time doubles when passing from TX frequency 1/127 (cycles of the state machine) tofrom TX frequency 1/127 (cycles of the state machine) to 1/255 (cycles of the state machine):1/255 (cycles of the state machine): ● the delay introduced by the counter, used to manage thethe delay introduced by the counter, used to manage the throughput , is not quantifiable. But since the average TX delaythroughput , is not quantifiable. But since the average TX delay doubles when passing from a frequency throughput 1/127 todoubles when passing from a frequency throughput 1/127 to 1/225 (cycles of the state machine) we can assume that the1/225 (cycles of the state machine) we can assume that the delay introduced by the counter is a constant parameterdelay introduced by the counter is a constant parameter Experimental data analysis [1/2]Experimental data analysis [1/2]
  • 21. The throughput is consistent to the model:The throughput is consistent to the model: ● given the same frequency and packet size,given the same frequency and packet size, decreasing BE_min the throughput is higher wrt to higher BE_mindecreasing BE_min the throughput is higher wrt to higher BE_min Moreover we can see that it's more convenient to use dataMoreover we can see that it's more convenient to use data aggregation. Since we get more measurements in less time and lessaggregation. Since we get more measurements in less time and less TX packets which leads to energy saving.TX packets which leads to energy saving. Experimental data analysis [2/2]Experimental data analysis [2/2] We are not sure how to interpret the absence of re-TX for 10bytesWe are not sure how to interpret the absence of re-TX for 10bytes data packets when 3 devices are TX anddata packets when 3 devices are TX and No re-TX observed when using only 1ED, probably it is due to theNo re-TX observed when using only 1ED, probably it is due to the delay added by the counter used to manage the throughput and todelay added by the counter used to manage the throughput and to the counter for data aggregation,when presentthe counter for data aggregation,when present
  • 22. Thanks for the attentionThanks for the attention