Measurement confidence in a REAL SENSOR NETWORK
Swarm Intelligence project Authors: Sven Gowal, Maxime Augier
I say fifty, maybe a hundred horses... What do you say Red Eagle?
Measurement confidence in a R EAL S ENSOR N ETWORK Swarm - - PowerPoint PPT Presentation
Measurement confidence in a R EAL S ENSOR N ETWORK Swarm Intelligence project Authors: Sven Gowal, Maxime Augier I say fifty, maybe a hundred horses... What do you say Red Eagle? Abstract Familiarize one self with TinyOS/nesC Implement
Swarm Intelligence project Authors: Sven Gowal, Maxime Augier
I say fifty, maybe a hundred horses... What do you say Red Eagle?
Familiarize one self with TinyOS/nesC Implement some approach to filter raw light
Demonstrate the importance of collaboration
TinyOS
OS designed for wireless embedded sensor networks.
nesC
Extension to the C programming language designed to
embody the structuring concepts and execution model of TinyOS.
TinyDB
query processing system for extracting information from a
network of TinyOS sensors.
Although not required
Easier and faster algorithms implementation Easier testing
MoteSim
Our simulator Adapted to our task
Takes as input a network configuration file Outputs the filtered light as well as the raw light
Able to plot
Once we decided on the algorithm according
Used TinyDB to help us get the results from
Add an attribute (f_light) Able to query with
Code still totally independent
Weighted average of the raw light
Average given as input to a low pass filter
Averaging formula:
Raw light perceived by the neighbor n at time i Raw light perceived at time i by the mote Number of neighbors the mote has Personal contribution coefficient (k ∊ [0,1]) Averaging over space
Averaging already produces some kind of
10 motes (9 neighbors). Raw light measured is N(10, 0.5). k = 0.1.
Mean error reduced from 0.5 to 0.17
300% improvement Hint: Collaboration is important.
Using only an average is not sufficient if the number
Low pass filtering via a leaky-integrator (for
Leaky-integrator formula:
Filtered data at time i Data received by the filter at time i Leaky-integrator coefficient (l ∊ [0,1]) Averaging over time
Filtering is very efficient even with a lower
1 mote (0 neighbors). Raw light measured is N(10, 0.5). l = 0.3.
Mean error reduced from 0.5 to 0.19
267% improvement Hint: Filtering is important.
Algorithm (average + filtering) was run on a
Number of neighbors between 0 and 3. High sampling rate to see how noise interfered. Whole day Radio strength reduced to the strict minimum
Noise (transmission errors mostly) Day Night Global pattern preserved even if the motes were in different light environment
Useful to measure the performance The metric has to take into account 2 aspects
Collaboration
Personal data
measures and not only rely on its neighbors.
Let’s use the statistical correlation
Performance of a single mote: Performance of the whole network:
Raw light Filtered light Collaborative coefficient
The metric yields a real number between 0
1 is the better performance one can obtain. Let’s find a reference value on which we can
Will use a = 0.8
Used MoteSim to compare 3 basic algorithms
Nop: outputs as the filtered light the raw intensity
Weighted Mean: performs a weighted mean over
Weight & Filter: performs a weighted average like
Simulated a network of 8 motes
Different neighborhood size (0, 2-3, 7) Raw light is a N(μ,0.5), μ is a U(9, 11). 1000 steps.
Reference value Filtering happens for bigger neighborhood size. Outperforms the other algorithms
Neighborhood size Performance
Performance obtained for the real networks is
Very close to 1, probably due to:
Not as much noise. Maybe just lucky.
Filtering occurs with very simple algorithms
For unstable/small neighborhood, filtering
Thanks Any questions?
Correlation With
Covariance Standard deviation