monitoring and debugging of deployed sensor networks
play

Monitoring and Debugging of Deployed Sensor Networks Matthias - PowerPoint PPT Presentation

Monitoring and Debugging of Deployed Sensor Networks Matthias Ringwald, Kay Rmer, ETH Zrich Overview Wireless Sensor Network (WSN) Deployment State of the Art in WSN Debugging Non-Intrusive Debugging of WSNs Summary &


  1. Monitoring and Debugging of Deployed Sensor Networks Matthias Ringwald, Kay Römer, ETH Zürich

  2. Overview • Wireless Sensor Network (WSN) Deployment • State of the Art in WSN Debugging • Non-Intrusive Debugging of WSNs • Summary & Discussion Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 2 12. Okt. 2005

  3. Wireless Sensor Networks (WSNs) Network of many sensor nodes: battery powered • wireless • BTnode Rev3 environmental sensors • Environmental monitoring Great Duck Island • Glacier • Volcano • Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 3 12. Okt. 2005

  4. WSN Life Cycle Simulation, Lab Configuration Operation emulation testbed & test Deployment Unexpected problems in deployed networks • Moisture • Depleted batteries • Incorrect sensor readings • Frequent connectivity changes • … Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 4 12. Okt. 2005

  5. “Unexpected” Problems? Configuration & test Simulation, Lab Operation emulation testbed • Reasons Simulation: does not capture all real-world effects • Testbed: few nodes, controlled environment • Users: Application experts, not system experts • ⇒ Problems are inevitable and cannot avoided ⇒ Get insight into deployed sensor network Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 5 12. Okt. 2005

  6. State of the Art Wireless network used for data gathering Nucleus: attribute query, event logging [Tolle2005] • intrusiveness Sympathy: In-network state collection, statistic analysis • [Ramanathan2005] Additional code/serial communication Deployment support network (DSN): additional, temporary • wireless network as backbone [Beutel2005] Non-intrusive to deployed sensor node TinyOS message center: gateway packet monitor [2003] • Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 6 12. Okt. 2005

  7. Deployment Support Network Deployment Support Network BTnut on BTnode3 - Cooperative Multithreaded OS + POSIX: Signals, Mutex, Semaphore, Device Driver… - 260 KiBi RAM - Bluetooth Radio - Chipcon CC1000 More Info: btnode.ethz.ch Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 7 12. Okt. 2005

  8. Non-intrusive debugging of WSNs Mission statement: “Monitor & debug WSN by non-intrusive observation of radio communication” Decoder Sniffer Evaluation Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 8 12. Okt. 2005

  9. Distributed Sniffer SINGLE NODE SNIFFER IMPLEMENTED Generic MAC listening NEXT: INTEGRATION IN DSN • Frequency, data rate • Start-Of-Packet symbol • Packet size DB Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 9 12. Okt. 2005

  10. Generic Packet Decoding IMPLEMENTED • Existing Solutions: • Top-Down: ASN.1 packet description • Bottom-Up: Ethereal network analyzer: decode code written in C • New: “Attributed C Structs” /** TinyOS message */ struct TOS_Msg { • most WSN apps are developed in C uint16_t addr; uint8_t type; • Structs are easy to understand/parse uint8_t group; uint8_t length; • Extensions allow for encapsulated int8_t data [29 ]; uint16_t crc; packets }; Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 10 12. Okt. 2005

  11. Data Analysis PLANNING • Topology Visualization: link-layer header info • Statistics : re-implement Sympathy? • Rule engine : assertions, failure tests … eliminate bugs Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 11 12. Okt. 2005

  12. Summary • Inevitable problems during WSN deployment • New tools needed to aid in debugging • Current approaches alter behavior of nodes • Our approach is non-intrusive, promising and can be added on the spot Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 12 12. Okt. 2005

  13. Discussion • Contra: • Pro: • multiple frequencies, • non-intrusive frequency hopping: hard • access to all • Internal state can only be communication inferred • allows to understand/ correct communication • Extension: issues • nodes could send Thanks! additional/intrusive debugging data Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 13 12. Okt. 2005

  14. Example Packet Description struct RoutingPacket struct Packet { : Packet.data ( type == 1) { u_int16 src; u_int8 nrHops; u_int16 dest; u_int16 nextHop; u_int8 type ; }; u_int8 size ; u_int8 data [ size ]; u_int16 CRC; }; Matthias Ringwald, Kay Römer, Institut for Pervasive Computing 14 12. Okt. 2005

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend