FlockLab: A Testbed for Distributed, Synchronized Tracing and Profiling of Wireless Embedded Systems IPSN 2013 NSLab study group 2013/04/08 Presented by:

Slides:



Advertisements
Similar presentations
Christoph Lenzen Philipp Sommer Philipp Sommer Roger Wattenhofer Roger Wattenhofer Optimal Clock Synchronization in Networks.
Advertisements

The Flooding Time Synchronization Protocol
Gradient Clock Synchronization in Wireless Sensor Networks
HIERARCHY REFERENCING TIME SYNCHRONIZATION PROTOCOL Prepared by : Sunny Kr. Lohani, Roll – 16 Sem – 7, Dept. of Comp. Sc. & Engg.
Wireless Sensor Networks Clock Synchronization Professor Jack Stankovic University of Virginia.
Multi Functional Digital Fault Recorder
Nemo: A High-fidelity Noninvasive Power Meter System for Wireless Sensor Networks Ruogu Zhou, Guoliang Xing Department of Computer Science and Engineering,
Wireless Sensor Networks: An overview and experiences. Matthew Grove PEDAL Seminar Series, January 9th 2008.
Oscilloscope Watch Teardown. Agenda History and General overview Hardware design: – Block diagram and general overview – Choice of the microcontroller.
Ultra-Low Power Time Synchronization Using Passive Radio Receivers Yin Chen † Qiang Wang * Marcus Chang † Andreas Terzis † † Computer Science Department.
Efficient Network Flooding and Time Synchronization with Glossy
FLIGHT: Clock Calibration Using Fluorescent Lighting Zhenjiang Li, Wenwei Chen, Cheng Li, Mo Li, Xiang-Yang Li, Yunhao Liu Nanyang Technological University,
Distributed Systems Fall 2010 Time and synchronization.
PEDS September 18, 2006 Power Efficient System for Sensor Networks1 S. Coleri, A. Puri and P. Varaiya UC Berkeley Eighth IEEE International Symposium on.
Mica: A Wireless Platform for Deeply Embedded Networks Jason Hill and David Culler Presented by Arsalan Tavakoli.
Accurate Emulation of Wireless Sensor Networks Hejun Wu Joint work with Qiong Luo, Pei Zheng*, Bingsheng He, and Lionel M. Ni Department of Computer Science.
Integrated  -Wireless Communication Platform Jason Hill.
Time Synchronization Murat Demirbas SUNY Buffalo.
Energy-Efficient Design Some design issues in each protocol layer Design options for each layer in the protocol stack.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
BLDC MOTOR SPEED CONTROL USING EMBEDDED PROCESSOR
Sensor Network Simulation Simulators and Testbeds Jaehoon Kim Jeeyoung Kim Sungwook Moon.
1 Physical Clocks need for time in distributed systems physical clocks and their problems synchronizing physical clocks u coordinated universal time (UTC)
Spring 2000, 4/27/00 Power evaluation of SmartDust remote sensors CS 252 Project Presentation Robert Szewczyk Andras Ferencz.
Time Synchronization for Zigbee Networks
ARM Timers.
1 An Adaptive Energy-Efficient MAC Protocol for Wireless Sensor Networks The First ACM Conference on Embedded Networked Sensor Systems (SenSys 2003) November.
System Clocks.
Adaptive Control-Based Clock Synchronization in Wireless Sensor Networks Kasım Sinan YILDIRIM *, Ruggero CARLI +, Luca SCHENATO + * Department of Computer.
November , 2009SERVICE COMPUTATION 2009 Analysis of Energy Efficiency in Clouds H. AbdelSalamK. Maly R. MukkamalaM. Zubair Department.
Institut for Technical Informatics 1 Thomas Trathnigg Towards Runtime Support for Energy Awareness in WSNs Towards Runtime Support for Energy Awareness.
SEISLOG Linux presented at the WORKSHOP High Quality Seismic Stations and Networks for Small Budgets Volcan, Panama March, 2004 by Terje Utheim,
BMAC - Versatile Low Power Media Access for Wireless Sensor Networks.
RT-Link: A Time-Synchronized Link Protocol for Energy-Constrained Multi- hop Wireless Networks Anthony Rowe, Rahul Mangharam and Raj Rajkumar CMU SECON.
GPS based time synchronization of PC hardware Antti Gröhn
CS HONORS UNDERGRADUATE RESEARCH PROGRAM - PROJECT PROPOSAL Tingyu Thomas Lin Advisor: Professor Deborah Estrin January 25, 2007.
Ryad Ben-El-Kezadri, Giovanni Pau Network Research Lab, UCLA TimeRemap: Stable & Accurate Time in Vehicular Networks REVE Workshop
Data Logging Solution for Digital Signal Processors Brian Newberry Nekton Research, Inc. James M. Conrad University of North.
College of Engineering Grid-based Coordinated Routing in Wireless Sensor Networks Uttara Sawant Major Advisor : Dr. Robert Akl Department of Computer Science.
Outline for Today Objectives: –Time and Timers Administrative details: –Talk on learning at 4 in 130 North Building –Questions?
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Jayant Gupchup Phoenix, EWSN 2010 Phoenix: An Epidemic Approach to Time Reconstruction Jayant Gupchup †, Douglas Carlson †, Răzvan Musăloiu-E. †,*, Alex.
Topic 2: Communications (Short Lecture) Jorge J. Gómez.
Logic Analyzer ECE-4220 Real-Time Embedded Systems Final Project Dallas Fletchall.
Time This powerpoint presentation has been adapted from: 1) sApr20.ppt.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED SYSTEMS.
Time Synchronization Protocols in Wireless Sensor Networks.
June 30 - July 2, 2009AIMS 2009 Towards Energy Efficient Change Management in A Cloud Computing Environment: A Pro-Active Approach H. AbdelSalamK. Maly.
ICALEPCS 2005 Geneva, Oct. 12 The ALMA Telescope Control SystemA. Farris The ALMA Telescope Control System Allen Farris Ralph Marson Jeff Kern National.
Adaptive Sleep Scheduling for Energy-efficient Movement-predicted Wireless Communication David K. Y. Yau Purdue University Department of Computer Science.
A+MAC: A Streamlined Variable Duty-Cycle MAC Protocol for Wireless Sensor Networks 1 Sang Hoon Lee, 2 Byung Joon Park and 1 Lynn Choi 1 School of Electrical.
Accurate Prediction of Power Consumption in Sensor Networks University of Tubingen, Germany In EmNetS 2005 Presented by Han.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
TempLab : A Testbed to Study the Impact of Temperature on Wireless Sensor Networks C.A. Boanoy, M.A. Zúñiga, J. Brownz, U. Roedigz, C. Keppitiyagama§,
Link Layer Support for Unified Radio Power Management in Wireless Sensor Networks IPSN 2007 Kevin Klues, Guoliang Xing and Chenyang Lu Database Lab.
CSE466 - Fall What is an Embedded System  Its not a desktop system  Fixed or semi-fixed functionality (not user programmable)  Lacks some or.
Precision Measurements with the EVERGROW Traffic Observatory Péter Hága István Csabai.
Distributed Systems Lecture 5 Time and synchronization 1.
Low Power Management for CC2430 Jinho Son Real-Time System Lab.
Frame counter: Achieving Accurate and Real-Time Link Estimation in Low Power Wireless Sensor Networks Daibo Liu, Zhichao Cao, Mengshu Hou and Yi Zhang.
Why does it need? [USN] ( 주 ) 한백전자 Background Wireless Sensor Network (WSN)  Relationship between Sensor and WSN Individual sensors are very limited.
INTRODUCTION TO WIRELESS SENSOR NETWORKS
On the Effectiveness of Energy Metering on Every Node
Microcontrollers & GPIO
CS294-1 Reading Aug 28, 2003 Jaein Jeong
Presentation by Andrew Keating for CS577 Fall 2009
CSCI1600: Embedded and Real Time Software
CSCI1600: Embedded and Real Time Software
Wireless Embedded Systems
Overview: Chapter 2 Localization and Tracking
Presentation transcript:

FlockLab: A Testbed for Distributed, Synchronized Tracing and Profiling of Wireless Embedded Systems IPSN 2013 NSLab study group 2013/04/08 Presented by: Yu-Ting 1

Outline Introduction Architecture Benchmark Application 2

Introduction A testbed with 30 observers (4 at outdoors) and a set of servers Support 4 different targets (nodes) Other than serial port service, these nodes can synchronously: – Trace GPIO – Actuate GPIO – Power profiling – Adjust supply voltage Much better than multiple logic analyzers, mixed- signal oscilloscopes, and power analyzers 3

Outline Introduction Architecture Benchmark Application 4

Hardware 5 CPU: 624MHz RAM: 128MB Flash: 32MB 8GB For outdoor nodes without Ethernet To profile power Can also control USB fan for outdoor nodes 5V for embedded Com 3.3V for others Step: 0.1V 9 LEDs By GPIO or UART This selection is done by two 8-bit signal translator 1000 USD Shunt resistor Amplify the volt across shunt by a gain of 100 Map slot with target boards by serial ID chiip

More about measuring power Resolution in power: 10nA Limit: 160mA (enough) ADC sample at 56kHz in high-speed mode and 28kHz in high-resolution (SNR = 109dB) mode with 14.3MHz clock source => resolution in time: 35.7us or 17.85us 6

Software OS: OpenEmbedded Linux NTP client: Chrony, synchronize every 1-2min with NTP server of FlockLab 7 Efficient data handling (caching)

Backend Infrastructure Time Synchronization server (NTP server) => sync by another server on campus and PPS by GPS receiver Web server Test management server (also stores data) Database server Monitoring server 8

Deployment Indoor * 26 (in same LAN segment) Outdoor * 4 Yellow level: RSSI value when idle 9

Outline Introduction Architecture Benchmark Application 10

Time Accuracy - GPIO Use GPIO to trace PPS of same GPS clock Use mixed-signal oscilloscope to actuate GPIO Pairwise timing error GPIO tracing VS PPS: normal distribution 11

Time Accuracy – Power Profiling SFD rise -> toggle GPIO & turn on LED SFD fall -> turn off LED SFD events happen at the same time (< 1us) Most error of same observer comes from random delay of GPIO event and the following power sample Error of different observer is comparable to pairwise timing error of GPIO events 12

Power Accuracy Test by high-precision power analyzer Target resistance: 259mΩ AA batteries: 947mΩ Calibration: Use linear regression to estimate more accurate constant of offset and gain of current-sense amplifier, and shunt resistor 13 Relative error: observer VS power analyzer

Limits in Capturing GPIO Events No new events can be captured until the respective flag is cleared Minimum required interval between consecutive GPIO events to be captured => depends on the interrupt delay and ISR execution time SFD events may still loss for small packet(<9bytes) 14

Outline Introduction Architecture Benchmark Application 15

Analysis of Tasks Without FlockLab Generally speaking, they are: – More intrusive and less accurate – Need to recompile due to code changes – Need to change existing codes for different platform Power profiling – Energest in Contiki, but also intrusive – Customize yourselves in TinyOS… End-to-end delay – Timestamps in serial logging, but it’s inaccurate – Run time synchronization protocol => Multiple protocols may cause performance losses or even failures Actuate events (controlling) for multiple nodes – Also need time synchronization Using network simulators like Cooja 16

Comparative Multi-Platform Analysis Run CTP on top of LPL: how each platform affects the trade-offs between metrics Observation – 200ms is best for such topology & traffic load – Tmote Sky is most sensitive, while IRIS is best – The trades are the same 17

Finding and Fixing Bugs Bug: the initial results with LPL wake-up intervals of 500 ms and 1s from Tinynode and Opal nodes were significantly worse Reason: children were transmitting at most one packet during an LPL wake-up interval, although they had multiple packets ready to be sent 18

Controlling and Profiling Applications Purpose – One node to generate a packet every 2s for 260s, from t = 30s to t = 290s – In the mean time, measure the energy consumption Task 1 is easily done by GPIO actuation Comparison of task 2 between different methods – FlockLab is non-intrusive and highly accurate 19

Measuring Clock Drift Enable FTSP every 3s and get the clock drifts of each node compared with the root Toggle a GPIO pin every 0.5s Compare the difference between GPIO timestamp interval and 0.5s with clock drifts – Average over 5min to limit GPIO timing errors 20

Multi-Modal Monitoring at Network Scale 21

Q&A 22