Scripps Ocean Acidification Real- Time (SOAR) Monitoring Project using OSDT Android SensorPod Peter Shin, Tony Fountain, Sameer Tilak, Thaddeus Trinh (Qualcomm.

Slides:



Advertisements
Similar presentations
Steve Lewis J.D. Edwards & Company
Advertisements

© Chinese University, CSE Dept. Software Engineering / Software Engineering Topic 1: Software Engineering: A Preview Your Name: ____________________.
Instrumenting Thailand’s Coastline: Cyber-Infrastructure for Environmental and Disaster Monitoring Michael Nekrasov University of California, Santa Barbara.
SDN and Openflow.
Objektorienteret Middleware Presentation 2: Distributed Systems – A brush up, and relations to Middleware, Heterogeneity & Transparency.
Chapter 19: Network Management Business Data Communications, 4e.
Mobile Online Intelligent Decision Support System Rick Smith, Dr. Stacey Lyle and Dr. Patrick Michaud-Division of Nearshore Research Conrad Blucher Institute.
Extensibility, Safety and Performance in the SPIN Operating System Brian Bershad, Stefan Savage, Przemyslaw Pardyak, Emin Gun Sirer, Marc E. Fiuczynski,
Ensuring Non-Functional Properties. What Is an NFP?  A software system’s non-functional property (NFP) is a constraint on the manner in which the system.
Figure 1.1 Interaction between applications and the operating system.
Knowledge Portals and Knowledge Management Tools
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Network Topologies.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Computer System Architectures Computer System Software
1 Autonomic Computing An Introduction Guenter Kickinger.
 Cloud computing  Workflow  Workflow lifecycle  Workflow design  Workflow tools : xcp, eucalyptus, open nebula.
1 IS 8950 Managing Network Infrastructure and Operations.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
Introduction to the Atlas Platform Mobile & Pervasive Computing Laboratory Department of Computer and Information Sciences and Engineering University of.
An Introduction to Software Architecture
Computing on the Cloud Jason Detchevery March 4 th 2009.
IT Infrastructure Chap 1: Definition
Chapter © 2006 The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/ Irwin Chapter 7 IT INFRASTRUCTURES Business-Driven Technologies 7.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
A performance evaluation approach openModeller: A Framework for species distribution Modelling.
Production Data Grids SRB - iRODS Storage Resource Broker Reagan W. Moore
Installation and Development Tools National Center for Supercomputing Applications University of Illinois at Urbana-Champaign The SEASR project and its.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Advanced Design and System Patterns The Microkernel Pattern.
Responding to the Unexpected Yigal Arens Paul Rosenbloom Information Sciences Institute University of Southern California.
 Apache Airavata Architecture Overview Shameera Rathnayaka Graduate Assistant Science Gateways Group Indiana University 07/27/2015.
Processes Introduction to Operating Systems: Module 3.
9 Systems Analysis and Design in a Changing World, Fourth Edition.
10/8: Software What is software? –Types of software System software: Operating systems Applications Creating software –Evolution of software development.
Securely Synchronize and Share Enterprise Files across Desktops, Web, and Mobile with EasiShare on the Powerful Microsoft Azure Cloud Platform MICROSOFT.
March 2004 At A Glance NASA’s GSFC GMSEC architecture provides a scalable, extensible ground and flight system approach for future missions. Benefits Simplifies.
SDN and Openflow. Motivation Since the invention of the Internet, we find many innovative ways to use the Internet – Google, Facebook, Cloud computing,
Abstract A Structured Approach for Modular Design: A Plug and Play Middleware for Sensory Modules, Actuation Platforms, Task Descriptions and Implementations.
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
Managing and Monitoring the Microsoft Application Platform Damir Bersinic Ruth Morton IT Pro Advisor Microsoft Canada
Background Real-time environmental monitoring is a field garnering an ever-increasing amount of attention. The ability for sensors to make and publish.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
Computer Simulation of Networks ECE/CSC 777: Telecommunications Network Design Fall, 2013, Rudra Dutta.
Ocean Observatories Initiative OOI Cyberinfrastructure Life Cycle Objectives Milestone Review, Release 1 San Diego, CA February 23-25, 2010.
Super Computing 2000 DOE SCIENCE ON THE GRID Storage Resource Management For the Earth Science Grid Scientific Data Management Research Group NERSC, LBNL.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
ICS - Intelligent Collaboration system Simulator DSL lab, computer science faculty Technion – Israel institute of technology Supervisor: Uri Shani Michal.
March 2004 At A Glance The AutoFDS provides a web- based interface to acquire, generate, and distribute products, using the GMSEC Reference Architecture.
Final Presentation Smart-Home Smart-Switch using Arduino
Cyberinfrastructure Overview of Demos Townsville, AU 28 – 31 March 2006 CREON/GLEON.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
CloudMAC: Moving MAC frames processing of the Sink to Cloud.
TEMPLATE DESIGN © The Open Source DataTurbine (OSDT) Android Sensor Pod: Embedded cyberinfrastructure for smart buoy controllers.
Amazon Web Services. Amazon Web Services (AWS) - robust, scalable and affordable infrastructure for cloud computing. This session is about:
The EPIKH Project (Exchange Programme to advance e-Infrastructure Know-How) gLite Grid Introduction Salma Saber Electronic.
AMSA TO 4 Advanced Technology for Sensor Clouds 09 May 2012 Anabas Inc. Indiana University.
Sensor Pod In a Nutshell The Sensor Pod integrates hardware devices for computation, communications, and power management. The Samsung Galaxy Nexus phone.
Chapter 1 Characterization of Distributed Systems
Latency and Communication Challenges in Automated Manufacturing
#01 Client/Server Computing
Replication Middleware for Cloud Based Storage Service
IT INFRASTRUCTURES Business-Driven Technologies
Analysis models and design models
A GUI Based Aid for Generation of Code-Frameworks of TMOs
#01 Client/Server Computing
Presentation transcript:

Scripps Ocean Acidification Real- Time (SOAR) Monitoring Project using OSDT Android SensorPod Peter Shin, Tony Fountain, Sameer Tilak, Thaddeus Trinh (Qualcomm Institute) Susan Kram, Jennifer Smith (Scripps Institute of Oceanography) University of California, San Diego

What are some of the big issues? Climate change: Ocean acidification Temperature increases Variability in weather dynamics Food and water security and sanitation: Threats to the food chain by long-term processes Disasters caused by combination of poor planning, poor execution, and poor timing, e.g., floods, typhoons, fires, nuclear accidents,… Many problems are a combination of bad decisions and unfortunate circumstances. Maybe we can help…

Open Source DataTurbine Initiative: Why? How? Who? – Challenge: How to develop technologies and design systems that will enable timely data collection to inform rational decisions and policies? – Mission of the Open Source DataTurbine Initiative: To Empower the Scientific Community with Streaming Data Cyberinfrastructure for Environmental Monitoring.

Open Source DataTurbine Initiative What do we do? – Software development and publishing: DataTurbine middleware for streaming data applications – OSDT Android SensorPod: Smart controller (gateway note/cluster head) for wireless sensor networks – Cloud computing: Virtualization of services for data, analytics, and decision support – Systems design and applications development: End-to-end (sensors to user) cyberinfrastructure that is scalable, robust, efficient, and affordable.

Collaborations and Applications

What is Ocean Acidification? Ocean Acidification (OA): man-made process of increasing in acidity of the ocean body result of increasing amount of carbon dioxide dissolving into the ocean water Effects of OA: can act like osteoporosis for marine organisms ones that build shells or have external skeletons such as mussels, oysters, clams, coral, and many others.

Scripps Ocean Acidification Real-Time (SOAR) Monitoring Project Motivation: Currently the scientific community does not know much about OA in coastal regions, most data collection has been done in open waters. Launched SOAR Monitoring Project in March 2013 Collaboration between Cyberinfrastructure lab in Qualcomm Insititute and the Smith Lab at Scripps Institute of Oceanography Employed SensorPod to set up a deployment at Scripps Pier to establish a long term OA monitoring program. The Scripps deployment has the potential for becoming an industry standard for coastal pH monitoring.

Custom hardware and software that integrates: – Sensors – Smart Phones – Networks: wired and wireless, cellular, Wi-Fi, satellite – Clouds (OSDC, Amazon EC2) OSDT Android SensorPod at SOAR Monitoring Project

DT2SM Protocol ConvertersPower Supply OSDT Android SensorPod IOIO BoardAndroid Phone Dropsync OSDT If This Then That Sensor On-board sensors OSDT Android SensorPod System Architecture

DT2SM OSDT Android SensorPod OSDT If This Then That SensorPod System at Scripps Pier SeaFET and SBE44 (underwater sensor and underwater Inductive Modem)

OSDT Android SensorPod Kit

What is SensorPod kit? – Packaging of SensorPod components that can be assembled to produce a functional SensorPod system – Designed to be relatively quick and easy to assemble from common and inexpensive Commercial Off-The-Shelf (COTS) components with detailed assembly instructions Why did we build a kit? – Allows the scientists to build and deploy an infrastructure tailored to their needs – Frees site managers and research programs from proprietary components - avoids commercial and vendor lock-in SensorPod Kit?

Typical Data Flow in SensorPod System

DataTurbine in a Nutshell Robust real-time streaming data engine Stream live data from experiments, labs, web cams and even Java enabled cell phones Acts as a "black box" to which applications and devices send and receive data Scalable – runs on everything from embedded devices to supercomputers Open source and freely available –

DataTurbine Middleware DataTurbine middleware integrates the disparate elements of complex distributed real-time applications.

Flexible Robust Efficient Design Goals of SensorPod

Flexible Supports various data center scenarios: – distributed, centralized, and cloud data management models. Provides an abstraction to sensors – no standard to communicate with sensors. The manufacturers typically offer their sensors with a set of commands with some specific corresponding responses for their digital sensors. – abstraction in the configuration file Determine the expected timing window. Add and remove the sensors easily.

Flexible Customized sampling time for each sensor. – Supports strict timing schedule for each sensor. The mean jitter has been around 7 ms. The max jitter time was 9 ms. The multi-threaded applications are controlling the sensors, and sensors can sample at specified time – same or different.

Efficient Maintain precise sampling time Minimize the jitter – Foreground service to support the strict timing constraints. – Calculates the sleep time based on its next sampling time, instead of busy waiting.

Efficient Modular design in both HW and SW – Choose HW/SW modules Examples - no satellite in WI, SIO or Taiwan, no local ODST service in the phone Note: trade-off exists - energy-efficient voltage regulator vs. linear voltage regulator Management of multi-threaded application – Handle error and recover from it at appropriate levels. – Avoid the escalation of an error.

Robust Operate autonomously for months. – Monitors the system itself – Handles unknown or unexpected failure Each SW module is a multi-threaded program implemented in the hierarchical fashion. – The top level thread is a manager thread keeping track of the spawned working threads. – Manager thread handles errors, kills and restarts the working threads at an appropriate level. – If the working threads get an exception or fails, the master threads keeps the handles onto those threads and cleans them up before restarting.

Robust Automatic restart logic for unexpected reboot. The Android OS sends out a reboot notification broadcast message after it reboots. Broadcast receiver is an abstract Android OS class. A subclass of this Broadcast receiver is implemented to receive the reboot notification message for the Data Gatherer Service. Upon receiving the message, it starts the Data Gatherer Service. The diagram shows that a user can also start the service through the GUI.

Robust The diagram depicts the data flow from the Data Gatherer Service to the Data Line Processor Service. Inside the Data Line Processor service, the manager thread monitors the two worker threads: Data Line Processor and the OSDT Error Handler. The Data Line Processor includes a parser and the OSDT source client. If any error occurs in the OSDT operation, the OSDT Error Handler chooses an appropriate action. Because any OSDT operation is a multi-threaded asynchronous network operation, the manager and the OSDT Error handler shares a lock to coordinate its activities.

Robust Withstand transient communication outages.

Robust The diagram below shows how the OSDT Error Handler module implements the network recovery mechanism steps.

Demonstrate SOAR Monitoring Project facebook page. Demonstration

Acknowledgement Moore Foundation National Science Foundation Ellen Browning Scripps Foundation UCSD