University of Cyprus Department of Computer Science
Nature-Inspired Techniques for Avoiding Congestion in Wireless Sensor Networks
Supported by:
Pavlos Antoniou Ph.D. Defense
Supervisor: Prof. Andreas Pitsillides
Nature-Inspired Techniques for Avoiding Congestion in Wireless - - PowerPoint PPT Presentation
Nature-Inspired Techniques for Avoiding Congestion in Wireless Sensor Networks University of Cyprus Department of Computer Science Pavlos Antoniou Ph.D. Defense Supported by: Supervisor: Prof. Andreas Pitsillides University of Cyprus
University of Cyprus Department of Computer Science
Supported by:
Supervisor: Prof. Andreas Pitsillides
University of Cyprus
2
Spanish architect, 1852-1926
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 3
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 4
University of Cyprus
5 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
SINK Back-end server External Network (e.g. the Internet) Sensor field Wireless links Sensor node Basic components of sensor nodes
・ sense the environment, create data packets
・ store data packets before transmitting
・ transmit data packets Sink node: gateway
6
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 7
suddenly arise in response to a detected event
Symptoms:
contention
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 8
University of Cyprus
9
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 10
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 11
self-adaptation, self-configuration, self-optimization, self-healing, etc.
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 12
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 13
simple node sink node packets' directions global attractor
University of Cyprus
* Graig Reynolds: artificial life and computer graphics expert, who created the Boids (simulated bird-like objects) in 1986. Boids were used in bat swarms and penguin flocks in Batman Returns (1992) and The Lion King (1994)
University of Cyprus
– Couzin’s model, concentric zones around each individual
metrical (continuous) 3D space.
form flocks and move constantly in given finite space without any attraction to a global target.
15
University of Cyprus
16
21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
Representation of a sensor network packet i on node n
17
University of Cyprus
– cannot be obtained timely through control packets because black-shaded nodes outside of transmission range – use only locally available information – packet i can perceive packets ‘flying’ from nodes one hop away to nodes two hops away
Representation of a sensor network packet i on node n
18
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence
19
University of Cyprus
20
University of Cyprus
21
ATTRACTION FORCES REPULSION FORCES
21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
22
View (FoV))
Transmission range
Number of hops to the sink 22
University of Cyprus
– synthesizes the attraction and repulsion forces – measures tendency of a packet on node n to move towards each neighboring node m
21/5/2012 Pavlos Antoniou - Ph.D. Defence 23
attraction repulsion
University of Cyprus
norm(k): measure of wireless channel loading around
– snm(k): number of packets successfully transmitted from node m to nodes two hops away from node n (# of packets in ZoA) within period k – s’nm(k): number of total transmission attempts at node m within period k – ξ : spreading variable [0,1] – allows attraction to idle nodes (at the borders of the flock)
spreading)
24
University of Cyprus
norm(k): queue occupancy at node m
21/5/2012 Pavlos Antoniou - Ph.D. Defence 25
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 26
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 27
University of Cyprus
28 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
– Lattice (300 homog. nodes) – Random (300 homog. nodes)
– Sampling period T: 0.5, 1, 1.5, 2 sec.
– Node queue size: 50 packets – IEEE 802.11: 2Mbps, 250Kbps
– Traffic load: light (25 pkts/s), medium (35 pkts/s), heavy (45 pkts/s)
– Packet Delivery Ratio (PDR) – End-to-End Delay (EED) – Energy tax – Throughput
Active nodes, Scenario 1 Active nodes, Scenario 2 Active nodes, Dead nodes, (a) (b) Scenario 3
20 nodes 20 nodes 15 nodes Sink node
failed at t=40 s
activated at t=10 s deactivated at t=70 s
activated at t=50 s
29
reactivated at t=70 s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 30
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 31
35pkts/sec
University of Cyprus
– High T: Infrequent control packet exchange and desirability evaluation packet flock incapable of adapting to rapidly changing network conditions – Low T: fast adaptation of flock movement to network conditions – Good compromise value in failing node conditions: T = 0.5 sec.
21/5/2012 Pavlos Antoniou - Ph.D. Defence 32
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 33
– packets traveled shorter paths to the sinks
– failing nodes => packets traveled longer paths to the sink whilst maneuvering around the “dead” zone
– Highest tax for scens 1 & 2
– Lowest tax for scenario 3
University of Cyprus
– active nodes achieve similar throughput
10 active nodes 35 pkts/sec ξ=0.75, T=0.5s
University of Cyprus
35
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 36
University of Cyprus
37
Packets form flocks and ‘fly’ over the network A number of paths to the sink are exploited
Nodes sending Nodes idle Nodes idle Nodes sending Nodes sending Nodes sending
Packets generated at the bottom create two subflocks that bypass the congested area After deactivation
subflocks re-join
University of Cyprus
reduced path exploration deterioration of PDR (scen1: 9-17%, scen3: 5-11%)
lack of social activity lack of knowledge on neighboring buffer & channel conditions high number of overflows & collisions deterioration of PDR (all scenarios)
further PDR deterioration
38
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 39
Node activation Packets maneuver around the zone of dead nodes When hole in the middle, packets re- align to include middle path to sink VIDEO
University of Cyprus
– number of nodes scales up available resources increase flock spreads in network packet losses reduced – small scale nets packets “forced” to move in coherent formations
– large scale nets multiple paths to sink lower buffer occupancy lower time to reach sink
40
University of Cyprus
Congestion Control (NCC) and Congestion-aware Routing (CAwR) protocols in all scens
node with lowest queue
PDR than NCC for 25, 35, 45 pkts/sec
CAwR
packet spreading, exploits available resources through multiple paths to sink
number of overflows
41 41
University of Cyprus
– quite complicated protocols involving large number of parameters and equations (2x & 4x more respectively) – parameters have to be tuned for variety of network and traffic conditions; sensitive to environment – control packets much larger and a lot more (forward+backward ants) + need lots of memory space – AntSensNet requires modifications in the queueing policies of the underlying MAC protocol
– quite simple involving only 2 parameters and 1 equation (desirability function), – much smaller and lot less control packets. No modification of the underlying protocols needed
42
Comparison table
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 43
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 44
University of Cyprus Department of Computer Science
45
University of Cyprus
Alfred James Lotka (1880 - 1949) Vito Volterra (1860-1940)
21/5/2012 Pavlos Antoniou - Ph.D. Defence 46
University of Cyprus
– nodes initiate traffic flows – flows interact each other – flows compete for available resources located at each node (e.g., buffer, bandwidth) – Goal: co-existence of flows
– species live in nature – species interact with each
surroundings – compete for resources (e.g., food, water) – Result: co-existence of species
47
University of Cyprus
Source Nodes (SNs) Relay Node (RN)
48
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 49
University of Cyprus
xi(t): biomass (population size) of species i at time t number of bytes sent by each children node i ri: growth rate of species i βi: intra-specific competition coefficient (competitive effects among individuals of species i) αij: is the inter-specific competition coefficient (competitive effects of species j on growth of species i) Ki: is the carrying capacity of species (maximum number of individuals that can be sustained by the biotope in the absence of all other species competing for the same resource) resource capacity
n i j i n j i a a n i K K n i r r
i ij i i
, 1 , , , 1 , , , 1 , , 1 ,
50
Species have same characteristics
University of Cyprus
] , 1 [ , 1
1
n i x K a K x rx dt dx
n i j j j i i i
*
21/5/2012 Pavlos Antoniou - Ph.D. Defence 51
University of Cyprus
*
21/5/2012 Pavlos Antoniou - Ph.D. Defence 52
n i n K xi ,..., 1 , ) 1 (
*
University of Cyprus
– rate evaluation every period T
– knowledge of variables r, K, α, β – number of bytes sent by node i within previous period T, xi – number of bytes sent by all other competing nodes j, , within previous period T:
parent node’s queue length – xi
n i j j j i
x C
1
n i j j j i i i
1
i i i i
n i j j j
x
1
21/5/2012 Pavlos Antoniou - Ph.D. Defence 53
1
1
n i j j j i i i
x K a K x rx dt dx
University of Cyprus
) ( t K r w i i i i
, ) ( ) ( ) ( ) ( ) ( ) ) 1 ((
) ( T K r kT w i i i i
e kT x kT w kT x kT x kT w T k x
i
i
54
University of Cyprus
55 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
– Buffer capacity (K): 35KB – Time period between successive sending rate evaluations: T = 1sec – α, β, r > 0, β > α
– Bandwidth (number of pkts sent) – Packet delivery ratio – End-to-end delay
Grey-shaded area: collision domain
Pavlos Antoniou - Ph.D. Defence 56
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 57
University of Cyprus
– sending rates < buffer capacity
– as # of active nodes scales up, their sending rates decrease – graceful performance degradation
– each active node self-adapts its sending rate – responsiveness to changes in the number of active nodes
– Clusterheads’ buffer capacity is fairly shared among active cluster nodes
Clusterheads Clusternodes
Pavlos Antoniou - Ph.D. Defence 58
*
University of Cyprus
– Increase of β decreases coexistence solution => decrease
– decreases coexistence solution – smooth traffic sending rates are not preserved – close to stability limits
21/5/2012 Pavlos Antoniou - Ph.D. Defence 59
*
University of Cyprus
– increased traffic load provoked channel contention, packet loss.
21/5/2012 Pavlos Antoniou - Ph.D. Defence 60
University of Cyprus
Validation of stability & buffer overflow avoidance conditions
61
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 62
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 63
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 64
University of Cyprus
– controlled behavior in wireless environments – smooth throughput – friendliness among competing flows
21/5/2012 Pavlos Antoniou - Ph.D. Defence 65
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 66
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 67
University of Cyprus
networks
– Uses a series of cameras and laser radar to ”see” its environment, react to other vehicals, stop signs, stop lights and other traffic signs – It can steer itself while looking out for obstacles, accelerate to the correct speed limit, stop and go based on any traffic condition
» Nevada, US, 1st state to allow driverless vehicle to be legally operated
68
University of Cyprus
avoid congestion phenomena, and thus delay for motorists
– minimize the overall delay for motorists according to the traffic input load and freeway congestion situation
21/5/2012 Pavlos Antoniou - Ph.D. Defence 69
University of Cyprus Department of Computer Science
Supported by:
Are we there yet?
University of Cyprus
[1] Pavlos Antoniou, and Andreas Pitsillides “Congestion Control in Wireless Sensor Networks based on the Lotka Volterra Competition Model”, Biologically Inspired Networking and Sensing: Algorithms and Architectures, edited by Dinesh C. Verma and Pietro Lio, IGI Book, August 2010, pp. 158-181.
[2] Pavlos Antoniou and Andreas Pitsillides, “A Bio-Inspired Approach for Streaming Applications in Wireless Sensor Networks based on the Lotka- Volterra Competition Model”, Elsevier Computer Communications, Special Issue
November 15, 2010, pp. 2039-2047. [3] Charalambos Sergiou, Pavlos Antoniou and Vasos Vassiliou, “Congestion Control Protocols in Wireless Sensor Networks: A Survey”, submitted to the IEEE Surveys and Tutorial Journal (accepted, subject to minor revision).
[4] Pavlos Antoniou, Andreas Pitsillides, Tim Blackwell, Andries Engelbrecht and Loizos Michael, “Congestion Control in Wireless Sensor Networks based on Bird Flocking Behavior”, submitted to the Elsevier Computer Networks Journal.
University of Cyprus
[5] Pavlos Antoniou, Andreas Pitsillides, Andries Engelbrecht and Tim Blackwell, “Applying Swarm Intelligence to a Novel Congestion Control Approach for Wireless Sensor Networks”, 4th International Symposium on Applied Sciences in Biomedical and Communication Technologies (ISABEL 2011), Invited Paper, Barcelona, Spain, October 26-29, 2011. [6] Pavlos Antoniou, Andreas Pitsillides, Andries Engelbrecht and Tim Blackwell, “Mimicking the Bird Flocking Behavior for Controlling Congestion in Sensor Networks”, 3rd International Symposium on Applied Sciences in Biomedical and Communication Technologies (ISABEL 2010), Invited Paper, Rome, Italy, November 7-10, 2010. [7] Pavlos Antoniou, Andreas Pitsillides, Tim Blackwell, Andries Engelbrecht and Loizos Michael, “Congestion Control in Wireless Sensor Networks based on the Bird Flocking Behavior”, IFIP 4th International Workshop on Self-Organizing Systems (IWSOS 2009), Zyrich, Switzerland, December 9-11, 2009, pp. 200-205.
21/5/2012 Pavlos Antoniou - Ph.D. Defence 72
University of Cyprus
[8] Pavlos Antoniou, and Andreas Pitsillides, “Congestion Control in Autonomous Decentralized Networks based on the Lotka-Volterra Competition Model”, 19th International Conference on Artificial Neural Networks (ICANN 2009), Limassol, Cyprus, September 14-17, 2009,
[9] Pavlos Antoniou, Andreas Pitsillides, Tim Blackwell and Andries Engelbrecht, “Employing the Flocking Behavior of Birds for Controlling Congestion in Autonomous Decentralized Networks”, 2009 IEEE Congress on Evolutionary Computation (IEEE CEC 2009), May 18-21, Trondheim, Norway. [10] Pavlos Antoniou and Andreas Pitsillides, “Towards a Scalable and Self-adaptable Congestion Control Approach for Autonomous Decentralized Networks”, 3rd European Symposium on Nature- inspired Smart Information Systems (NiSIS2007), St. Julians, Malta, November 2007.
21/5/2012 Pavlos Antoniou - Ph.D. Defence 73
University of Cyprus
[11] Pavlos Antoniou and Andreas Pitsillides, “Wireless Sensor Network Control: Drawing Inspiration from Complex Systems”, Poster Proceedings of the 6th IFIP Annual Mediterranean Ad Hoc Networking Workshop (MedHocNet2007), Corfu, Greece, June 2007.
[12] Pavlos Antoniou, Andreas Pitsillides, Tim Blackwell, Andries Engelbrecht and Loizos Michael “From Bird Flocks to Wireless Sensor Networks: A Congestion Control Approach”, Technical Report TR-05- 11, Department of Computer Science, University of Cyprus, September 2011. [13] Pavlos Antoniou and Andreas Pitsillides “Understanding Complex Systems: A Communication Networks Perspective”, Technical Report TR-07-01, Department of Computer Science, University of Cyprus, February 2007.
21/5/2012 Pavlos Antoniou - Ph.D. Defence 74
University of Cyprus
– obtained through control packets* broadcasted periodically – control packets can be seen as means of transferring knowledge (propagate information) within the environment (sensor network) that is observable by birds' eyes
Representation of a sensor network packet i on node n (*) Control packets are broadcasted periodically (every T seconds, sampling period)
75
University of Cyprus
Representation of a sensor network
i 1 5 3 4 n 8 7 6 2
packet i on node n
76 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
– cannot be obtained timely through control packets – black-shaded nodes outside of transmission range – use only locally available information – packet i can perceive packets ‘flying’ from nodes one hop away to nodes two hops away
Representation of a sensor network packet i on node n
77 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
Representation of a sensor network packet i on node n
i 1 5 3 4 n 8 7 6 2
78 21/5/2012 Pavlos Antoniou - Ph.D. Defence
University of Cyprus
– Low number of buffer overflows/high number of collisions – Effective when packet spreading is enabled (ξ=0.5, 0.75, 1) and a high number of paths to the sinks are available
balanced way over multiple paths to the sink
– Ineffective at low ξ: coherent flock formation
– High number of buffer overflows/low number of collisions
21/5/2012 Pavlos Antoniou - Ph.D. Defence 79
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 80
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 81
University of Cyprus
each of the two species.
depends on population size of species 1 (intra-specific comp.).
depends on population size of species 2 (intra-specific comp.).
growth depends on number of members of the same species and number of individuals of other competing species. (inter-specific)
competition coefficients
82
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 83
University of Cyprus
– behaviour of solutions near an equilibrium – periodic orbits cannot be revealed
– Stable (node): if every solution (with sufficiently close to equilibrium) remains close to equilibrium for all
– Saddle point: there is a curve through the equilibrium, orbits starting on this curve tend to the equilibrium, orbits starting off this curve cannot stay near the equilibrium – Spiral point or focus: every orbit wings around the equilibrium – Center: every orbit is periodic – Unstable
* *, y
) , ( ), , ( y x G dt dy y x F dt dx ) , ( , ) , (
* * * *
y x G y x F
21/5/2012 Pavlos Antoniou - Ph.D. Defence 84
University of Cyprus
* * * * * * * *
y x y x
85
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 86
University of Cyprus
1 2 * 2 2 1 * 1
* 2 * 1
2 * 2 * 1
* 2 1 * 1
2 1
r r A Unstable node
* 2 2 2 * 2 2 2 * 1 1 1 * 1 1 1
N K r N K r N K r N K r A
21/5/2012 Pavlos Antoniou - Ph.D. Defence 87
University of Cyprus
2 1 * 1
1 2 * 2
Isocline for species 1 Isocline for species 2
21/5/2012 Pavlos Antoniou - Ph.D. Defence 88
University of Cyprus
for species 1 lies above that of species 2.
with equilibrium for species 1 at its carrying capacity.
for species 2 lies above that of species 1.
with equilibrium for species 2 at its carrying capacity. Case 1 Case 2 Stable steady state, N1 wins Stable steady state, N2 wins Competitive exclusion principle: species less suited to compete for resources should either adapt or die out
89
University of Cyprus
than inter-specific competition.
than intra-specific competition.
exclusion of one of the two species. Case 4 Case 3 Steady states, either N1
Unstable equilibrium
point Stable equilibrium (node) Competitive exclusion principle Coexistence
90
University of Cyprus
– n=2: – n=3: using Routh theorem iff
) 1 (
*
n K x
2 det ) det(
2 , 1 2 2 2 2 2
r r r r r r r A I
3 , 2 , 1
) 1 (
*
n K x
91
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 92
Set of active nodes, 35 pkts/sec
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 93
Nodes failed at t=40s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 94
Nodes failed at t=45s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 95
Nodes failed at t=50s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 96
Nodes failed at t=55s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 97
Nodes failed at t=60s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 98
Nodes failed at t=65s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 99
Nodes failed at t=70s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 100
Set of active nodes, 35 pkts/sec
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 101
Nodes failed at t=40s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 102
Nodes failed at t=45s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 103
Nodes failed at t=50s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 104
Nodes failed at t=55s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 105
Nodes failed at t=60s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 106
Nodes failed at t=65s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 107
The network has been almost cut in the middle Nodes failed at t=70s
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 108
Some packets “wandering around” at a quest for an alternative path to the sink
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 109
Some packets “discover” a new path to the sink
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 110
Two paths towards the sink have been established
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 111
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 112
University of Cyprus
* Graig Reynolds: artificial life and computer graphics expert, who created the Boids (simulated bird-like objects) in 1986.
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 114
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 115
University of Cyprus
21/5/2012 Pavlos Antoniou - Ph.D. Defence 116