10
UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITY SMI || NCSR || CDVP Adaptive Scheduling in Wireless Sensor Networks. A.G. Ruzzelli, M.J. O'Grady, G.M.P O'Hare, R. Tynan. Adaptive Information Cluster (AIC group) Department of Computer Science, University College Dublin (UCD), Ireland. {ruzzelli, michael.j.ogrady, gregory.OHare, richard.tynan}@ucd.ie UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITY SMI || NCSR || CDVP Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks” _____________________________________________________________________________________ Summary • Requirements • Motivation • Applications Related issues Protocol used Adopted scheduling Virtual sectors Deployment if migrating agents • Conclusion

Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Adaptive Scheduling in Wireless Sensor Networks.

A.G. Ruzzelli, M.J. O'Grady, G.M.P O'Hare, R. Tynan.Adaptive Information Cluster (AIC group)

Department of Computer Science, University College Dublin (UCD),

Ireland.{ruzzelli, michael.j.ogrady, gregory.OHare, richard.tynan}@ucd.ie

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Summary

• Requirements• Motivation• Applications• Related issues• Protocol used• Adopted scheduling• Virtual sectors• Deployment if migrating agents• Conclusion

Page 2: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

WSNs primary Requirements

• Energy-Efficiency• Scalability to the change in network size, node

density and topology• “Adaptivity” to Network changes• Resiliency to node failures• Network self-configuring

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Driven Motivation (1)

• Autonomic injection of local scheduling into the network during ongoing communication to :– save node energy through the network self-

organization .– opportunistic change of network activity during

ongoing communication according to the application;– Avoid compulsive network behaviour due to sudden

anomalies;– Avoid overload on the low memory of the sensor

node processors as a result of an event detection

Page 3: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Application (1): Dynamic scheduling change

•Based on data received, the base station can opportunistically decide to change the data sampling of sensors in a area during network activity

Possible solution:

The base station broadcast a notifying message towards each node involved

Cons: High energy consuming

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Application(2): Network anomaly intervention

Possible solution Multiple Notification messages (High energy consuming)

Proposed solution: Migrating agent (Moderate energy consuming)

Page 4: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Scheduling change: Related issues

• Facilitate the agent migration towards the affected region;

• Synchronization issues: The change of scheduling should not affect the normal communication of nodes;

• Latency issues: The agent should get the destination within a certain time;

• Design of dedicated agent: (1)Application-driven design; (2)Computational light;

• Design of a cross layer interaction between the application and routing layers

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

• CSMA/TDMA Hybrid architecture;• Lightweight protocol;• Integrated MAC+Routing characteristics to address low

memory capabilities of sensors;• No handshake mechanisms (e.g.RTS/CTS/ACK) to address

energy consumption and latency of packets• Controlled multi-paths technique to improve the reliability;• It can support node localization procedures;

Protocol used:MERLIN*

(*Ruzzelli, Evers, Van Hoesel, Havinga, EU Eyes project, Netherlands.)

Page 5: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

MERLIN protocol at a glance (2)

Gateway

Node

Why Time Zones?

Nodes with the same color are in the same time zone ____________________

Nodes within the same subset belong to the same gateway

_____________________

Nodes within the same zone wake up and go into sleep simultaneously

______________________CSMA applied

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Scheduling tables: V-schedule vs. X- Schedule

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

⇓⇓

•Frame is divided in 8 slots;

•Nodes in the same zone transmit simultaneously

•The X scheduling is obtained by super positioning 2 V-sched one of which upside-down

•Nodes go into sleep immediately after the transmission

Page 6: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Properties of the two tables [1]

• The X scheduling should be used for applications in which some energy can be traded off for a decrease of latency of messages and for applications in which latency is a tighter constraint;

• V-scheduling is more suitable for low data traffic applications where the need of saving energy is of paramount importance.

[1] Ruzzelli, A., Tynan, R., G.M.P.O'Hare: A low-latency routing protocol for wireless sensor networks. In proceeding of SENET'05 Advanced Industrial Conference on Wireless Technologies. Montreal (2005)

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

X and V scheduling setup time

X-Scheduling Network Setup

0

1

2

3

4

5

0 50 100 150 200 250 300

Node Density(nodes/100m^2)

Tim

e(se

c)

V-Scheduling Network Setup

0

2

4

6

8

10

0 50 100 150 200 250

Node Density (nodes/100 m^2)

Tim

e (

sec)

•V-sched shows double network setup time with respect to X-sched;

•X and V scheduling can be setup in less than 10 seconds for 250 nodes network density.

Page 7: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Node density = 125 nodes/100m^2

0.761.02 1.01 1.07

2.76 2.772.52 2.54

3.76 3.71 3.77

0

1

2

3

4

1 2 3 4 5 6 7 8 9 10 11

Node hop count

Lat

ency

(se

c)

Node density = 275 nodes/100m^2

0.771.01

0.77

1.27

2.162.44 2.27 2.27

3.17 3.16 3.17

3.77

4.263.88

0

1

2

3

4

5

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Node hop count

Lat

ency

(se

c)

End-to-end packet delayX-scheduling

Node density = 125 nodes/100m^2

2.312.87

2.52

5.125.52 5.45

4.12

6.315.52

7.51 7.52

0

1

2

3

4

5

6

7

8

1 2 3 4 5 6 7 8 9 10 11Node hop count

Lat

ency

(se

c)

Node density = 275 nodes/100m^2

1.61 1.52 1.51

4.013.52

4.52 4.18

6.18 6.386.85 6.52

7.518.02

8.52

0

1

2

3

4

5

6

7

8

9

1 2 3 4 5 6 7 8 9 10 11 12 13 14

Node hop count

Lat

ency

(se

c)

V-scheduling• The controlled multiple

path mechanism may cause a lower delay for nodes farther from the gateway than other;

• A periodic and discontinuous increase of latency at the intersection of data traffic flows due to:

• X-sched: Packet Collisions hence retransmission;

• V-sched: Periodical stop of nodes activity that go into sleep.

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Novel mechanism: Virtual sectorsDATACP

A B

S L O T

A

•Virtual sectors are generated by simply using the CSMA approach already in use by nodes in the same zone.

•During initialization, nodes in zone 2 , after receiving the init-msg from zone 1 nodes, will generate a sectorID based on the parent node ID in zone 1 and then proceed to flood the network with their sectorIDmsg.

•The sectorID is a unique number related to the zone 2 node ID-number.

•Because of the Contention Period (CP), only some nodes that are far apart can win the channel then transmit simultaneously

•The rest of nodes will refer the transmission to the next frame

Sector.α

Sector. β

Zone 1 node Zone 2 node Zone 3 node

Page 8: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Virtual sector: Bigger view• Nodes in farther zones

will inherit the sector. • Nodes in zone one will

get the sensor from zone 2 nodes

• The simple mechanism together with a table of neighbours provided for each node allows agents to migrate towards the affected node/area that presents an irregularity

Sect.α

Sect.β

Sect.γ

Sect. δ

Gateway Zone 1 node Zone 2 node Zone 3 node Zone 4 node

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

How a change in scheduling is Effected

• The X and V scheduling tables have the same slot length, same frame time and same number of zones They are interchangeable under certain timing conditions

• The agent can order a change of scheduling for the entire sector or a portion of it, for example from zone N to the zone N+M in a sector.

• Nodes in the border zones (N and M) an adoption of both the old and the new scheduling to keep the continuity of message flow.

• The agent should give the time of scheduling change

Page 9: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Simultaneous scheduling adoption

In order to have a simultaneous scheduling adoption for the entire group of nodes involved, the migrating agent should – Firstly identify the number of zones that will

join the change;– Secondly calculate the overall time necessary

so that the packet can be forwarded to all the nodes interested;

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Example of agent commitment rules

• Migration to a particular zone

BELIEF(nodeReceptRate(?val; ?nodeID)) &BELIEF(NodeThreshold(?trigger &BELIEF(NodT hreshExceed(TRUE)

COMMIT(Self;Now;Belief (True); SEQ(Migrate(?nodeSector);Migrate(?nodeTimeZone))

• Adoption of a new scheduling for a zoneBELIEF(BufferSize(?val))

&BELIEF(similPercent(?threshold))COMMIT(Self;Now;Belief (True);

SEQ(AdoptZone(?ZoneID; V SCHEDULING; ?T);Migrate(?timeZone + 1; ?sectorID; ?nodeID)))

Page 10: Adaptive Scheduling in Wireless Sensor Networks. · virtual network sectors; (3) the adoption of autonomous mobile agents. • Agents monitor network activity and determine which

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Conclusion• We investigated the use of intelligent agents in the delivery of

adaptivity at the networking layers has been investigated;• This research has described a method of optimizing energy

resources in times when unexpected or heavy network activity occurs.

• Three instruments facilitate this: (1) the provision of two efficient and interchangeable scheduling tables; (2) the ability to generate virtual network sectors; (3) the adoption of autonomous mobile agents.

• Agents monitor network activity and determine which of the two scheduling regimes would be most appropriate

• Autonomous agents can deliberate and dynamically apply the respective schedules at either network or sector level.

UNIVERSITY COLLEGE DUBLIN DUBLIN CITY UNIVERSITYSMI || NCSR || CDVP

Ruzzelli,. O'Grady, O'Hare, Tynan “Adaptive Scheduling in Wireless Sensor Networks”_____________________________________________________________________________________

Thanks for your attentionQuestions are welcome!