1 / 17

Sensornets with ns2

Features. Leveraged existing support for mobile nodesSimulations can include multiple phenomenaEnergy model extended to support sensor nodes (i.e. sensing costs energy)Node colors used to identify alarming sensors in nam. Sample Simulations. Small-scale sensor network with multiple phenomena (4 n

duy
Download Presentation

Sensornets with ns2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Sensornets with ns2

    2. Features Leveraged existing support for mobile nodes Simulations can include multiple phenomena Energy model extended to support sensor nodes (i.e. sensing costs energy) Node colors used to identify alarming sensors in nam

    3. Sample Simulations Small-scale sensor network with multiple phenomena (4 nodes) Moderate-scale sensor network (26 nodes) Moderate-scale sensor network with energy constraints Small-scale sensor network with multiple phenomena (4 nodes) - phenom08 Moderate-scale sensor network (26 nodes) - phenom09 Moderate-scale sensor network with energy constraints - phenom11Small-scale sensor network with multiple phenomena (4 nodes) - phenom08 Moderate-scale sensor network (26 nodes) - phenom09 Moderate-scale sensor network with energy constraints - phenom11

    4. Howto configure a sensor network simulation Configure separate channels for phenomena and data Create phenomenon nodes Create sensor nodes Create non-sensor nodes Attach sensor agents to sensor nodes Attach UDP agent and sensor application to sensor nodes Start sensor applications

    5. Configure separate channels set chan_phenom [new $val(chan)] set chan_data_ [new $val(chan)]

    6. Create Phenomenon node

    7. Configure phenomenon

    8. Create Sensor node

    9. Create non-sensor nodes

    10. Howto configure a sensor network simulation Configure separate channels for phenomena and data Create phenomenon nodes Create sensor nodes Create non-sensor nodes Attach sensor agents to sensor nodes Attach UDP agent and sensor application to sensor nodes Start sensor applications

    11. Attach sensor Agent to sensor node

    12. Attach sensor Agent to sensor node

    13. Attach sensor Application to sensor node

    14. Start Applications Phenom nodes automatically start at t=0 Setting transmit power (set Pt_ 0.0000) effectively deactivates phenomenon Start sensor application with: $ns_ at 5.0 "$app_($i) start $sensor_($i)" Phenomenon nodes start at t=0 (because PHENOM packets originate from the routing layer).Phenomenon nodes start at t=0 (because PHENOM packets originate from the routing layer).

    15. Howto configure a sensor network simulation Configure separate channels for phenomena and data Create phenomenon nodes Create sensor nodes Create non-sensor nodes Attach sensor agents to sensor nodes Attach UDP agent and sensor application to sensor nodes Start sensor applications Now run ns!

    16. Bugs and Problems Too many nuances involved in setting up simulations Unpredictable segmentation faults (NRLOLSR) Ns2 errors hard to interpret Sensor network model had not been qualitatively validated Particularly concerned with energy model Patching ns2 requires many modifications in its source code

    17. Future Work Investigate routing protocol tradeoffs for sensor networks Reduce vulnerability to seg. faults Release code to ns2 community Improve the propagation model for phenomena

More Related