Sam Tran P.
1 8
III. THESIS METHOD
Maintenance phase: The purpose is to reconfigure the network in the case of topology change. The
following are example cases showing when such a topology change may be necessary:
1. Exhausted nodes When energy level of a node is below a threshold, it turns all its sons to
SLEEP and sends a report to the base. When the base gets the report, it enters the processing phase to reconfigure the whole network, with dead nodes being removed and the
network restructured. 2.
Damaged nodes After a predefined interval of time, nodes require their child nodes to send their IDs to them via a small size message. Children nodes that do not report to their parents
are assumed to be damaged and will be reported to the base. Also, if a child node did not receive any asking from its father after the predefined interval of time meaning the father is
damaged, it will turn to SLEEP mode and wait for the command from the base. 3.
Re-positioned nodes due to physical events, such as earthquake, explosion, etc When a node’s position changes, it will be considered as damaged by its parent case b.. After being
changed position, the node will do the following jobs:
Automatically turns to SLEEP mode.
Broadcast a message indicating that its position needs to be updated.
Any node that has received the broadcast will forward the information to the base, which then updates the given node’s position.
Sam Tran P.
1 9
IV. MODULE SIMULATION
• The tool that is used for simulation is OMNET++. It is selected
because it enables to put simulated modules at any place. That is why we can simulate the random location feature of a sensor
network as well as build moving objects.
• The are 3 basic components needed for the simulation: sensor
node, intruder object, and sensor network. In addition, we need a module called manager to help the simulation such as:
– Put nodes to locations based on the result files of the processing
phase.
– Making connection among nodes.
– Making connection between the objects and the nodes.
– Simulate the sensing behavior.
– Detect the first dead node in the network.
– Collect energy level of all nodes after the simulation.
Sam Tran P.
2
IV. MODULE SIMULATION