Base Station Design and Architecture for Wireless Sensor Networks



Similar documents
Ovation Operator Workstation for Microsoft Windows Operating System Data Sheet

NanoMon: An Adaptable Sensor Network Monitoring Software

MOTEWORKS. Key Features. Overview

Seeing by Degrees: Programming Visualization From Sensor Networks

The BSN Hardware and Software Platform: Enabling Easy Development of Body Sensor Network Applications

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

What's New in BarTender 2016

Using Fuzzy Logic Control to Provide Intelligent Traffic Management Service for High-Speed Networks ABSTRACT:

RS-232 Communications Using BobCAD-CAM. RS-232 Introduction

Data Validation and Data Management Solutions

THE COACH S BEST FRIEND!

CONTROL MICROSYSTEMS DNP3. User and Reference Manual

WIRELESS INSTRUMENTATION TECHNOLOGY

Surveillance System Using Wireless Sensor Networks

MDS. Measured Data Server Online Measurement Network. Properties and Benefits »»» »»»» ProduCt information

1. Introduction Fixture exterior view Connecting the Robe Universal Interface Software update of the fixture...

Sensor Devices and Sensor Network Applications for the Smart Grid/Smart Cities. Dr. William Kao

A REMOTE HOME SECURITY SYSTEM BASED ON WIRELESS SENSOR NETWORK AND GSM TECHNOLOGY

Introduction to Z-Wave. An Introductory Guide to Z-Wave Technology

Online Communication of Critical Parameters in Powerplant Using ZIGBEE

WA Manager Alarming System Management Software Windows 98, NT, XP, 2000 User Guide

White Paper April 2006

The Business case for monitoring points... PCM architecture...

Waspmote. Quickstart Guide

Ruby On Rails. CSCI 5449 Submitted by: Bhaskar Vaish

Design of Remote data acquisition system based on Internet of Things

FOXBORO. I/A Series SOFTWARE Product Specifications. I/A Series Intelligent SCADA SCADA Platform PSS 21S-2M1 B3 OVERVIEW

STRUCTURAL HEALTH MONITORING AT ROME UNDERGROUND, ROMA, ITALY

time and thought that the buses had a higher on-time arrival rate than the actual on-time arrival rate. 2

REMOTE DEVELOPMENT OPTION

Intrusion Detection Systems (IDS)

An Integrated Interoperable Wireless AMI Solution on 865/7MHz

Design of Fuzzy Drip Irrigation Control System Based on ZigBee Wireless Sensor Network

January 2002

XBEE PROTOCOL COMPARISON

2) Sharing Projects Made easy by IntelliGantt s Share Wizard, there are three share options to fit the needs of your project.

Digital Modernization of Oilfields Digital Oilfield to Intelligent Oilfield. Karamay Hongyou Software Co., Ltd.

Synapse s SNAP Network Operating System

Managing Variability in Software Architectures 1 Felix Bachmann*

BreezingForms Guide. 18 Forms: BreezingForms

GEIGER COUNTER "Gamma Check Pro"

Why WireFree: Wireless Gas Detection System Basics and Benefits

IT Consulting Services Desktop Support Service Levels are available online. IT Consulting Services Comparison

ARM-UAV Mission Gateway System

Designing and Embodiment of Software that Creates Middle Ware for Resource Management in Embedded System

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

SSL VPN Technology White Paper

Stuart Gillen. Principal Marketing Manger. National Instruments ni.com

Directions for Frequency Tables, Histograms, and Frequency Bar Charts

LR120 Load Runner 12.0 Essentials Instructor-Led Training Version 12.0

11.1. Performance Monitoring

SCADA Questions and Answers

A Real Time Tracking and Alerting System Using LabVIEW

DEVELOPMENT OF VIBRATION REMOTE MONITORING SYSTEM BASED ON WIRELESS SENSOR NETWORK

Microcontroller Based Low Cost Portable PC Mouse and Keyboard Tester

Lenovo Miix 2 8. User Guide. Read the safety notices and important tips in the included manuals before using your computer.

Nikon Firmware Update for Coolpix 5000 Version 1.7

Research Article ISSN Copyright by the authors - Licensee IJACIT- Under Creative Commons license 3.0

BROWSER-BASED HOME MONITOR USING ZIGBEE SENSORS

i -CEN S USER S Manual

A PC

FileNet System Manager Dashboard Help

A Transport Protocol for Multimedia Wireless Sensor Networks

An in-building multi-server cloud system based on shortest Path algorithm depending on the distance and measured Signal strength

User manual BS1000 LAN base station

Smart Business Architecture for Midsize Networks Network Management Deployment Guide

Living Requirements Document: Sniffit

SIB relays C++ API SQL API. Kernel. Hardware Desc. XML. XML Parser parser.h. State. Misc. Mgmt. I/O Manager iomgr.h. Data Acq. XCR. Batt. Mgmt.

Temperature & Humidity SMS Alert Controller

The EMSX Platform. A Modular, Scalable, Efficient, Adaptable Platform to Manage Multi-technology Networks. A White Paper.

LTE protocol tests for IO(D)T and R&D using the R&S CMW500

PermaSense Data Management

Customer Specific Wireless Network Solutions Based on Standard IEEE

ICS Technology. PADS Viewer Manual. ICS Technology Inc PO Box 4063 Middletown, NJ

Development of Integrated Management System based on Mobile and Cloud service for preventing various dangerous situations

S.A.M. Siren Activation Monitoring Software

SCADA System Fundamentals

ServerView Inventory Manager

Toad for Oracle 8.6 SQL Tuning

Training Document for Comprehensive Automation Solutions Totally Integrated Automation (T I A) MODUL E04

Using RFID Techniques for a Universal Identification Device

Electronic Logbook. Hedgehog-2. version 2.7. Quick Start. Revision 1.3 of 10/31/2012

MLogger Series Logging Instruments

WAMLocal. Wireless Asset Monitoring - Local Food Safety Software. Software Installation and User Guide BA/WAM-L-F

SIGMOD RWE Review Towards Proximity Pattern Mining in Large Graphs

APRSstat An APRS Network Analysis Tool

Affordable Real-Time Monitoring

TT-RFID platform - Introduction

mysensors mysensors Wireless Sensors and and Cellular Gateway Quick Start Guide Information to Users Inside the Box

ELAD FDM-SW1 USER MANUAL. Ver. 1.0

SmartMesh Wireless Sensor Networking for Industrial IoT

Working with Macros and VBA in Excel 2007

A Design of Greenhouse Remote Monitoring System Based on WSN and WEB

9 Working With DICOM. Configuring the DICOM Option

Measuring Soil Moisture for Irrigation Water Management

Transcription:

Base Station Design and Architecture for Wireless Sensor Networks David Kohanbash*, Abhinav Valada, George Kantor Carnegie Mellon University Robotics Institute, 5000 Forbes Ave, Pittsburgh, PA, 15213 USA *Corresponding author e-mail: dkohanba@cmu.edu Abstract Wireless Sensor Network (WSN) systems are an invaluable tool in agriculture. Currently these systems are good at reporting and logging data, though newly available WSN systems also provide features to control irrigation and other environmental parameters. The crux of this work is making the data useable and actionable for the grower as well as the framework behind it. A stable framework is necessary for the system to gain acceptance among growers, and to guarantee long term use. A secure framework is also needed for WSN based irrigation control and for remotely accessible user interfaces. This paper describes a WSN base station implementation that is deployed at over a dozen agricultural sites examining all key components including the base software, base to node communications, user interfaces, and data storage. After discussing the base station design the user interface that has evolved with constant feedback from growers and researchers will be presented. This system is a fully featured base station that enables growers and researchers to maximize the benefit from their WSN system. Key words: Wireless Sensor Network, WSN, base station, design, control 1. Introduction Wireless Sensor Networks (WSN s) are becoming an invaluable tool to growers. The ability to monitor environmental and crop conditions in real time has allowed growers to decrease costs while improving crop quality (Lea-Cox, 2011). However in order for growers to recognize these benefits they must be able to interpret, understand, and act on the data provided by the WSN. This paper focuses on the base station component of the system, i.e., the part in which data is collected, viewed, and transformed into useful information for the end user. Other key components such as sensing needs and node development are discussed in depth by Kohanbash et al. (2011). An overall network diagram is shown in Fig. 1. Base stations are often thought of as just a central component that is used to gather data from distributed nodes. This approach allows advanced users to control their crop, it has a very steep learning curve. We take a different approach that focuses on creating a system that is easy to learn, easy to use, and makes it easy to generate actionable that can be used to improve growing conditions. This system also allows for configuring irrigation at the node level from a centralized interface.

FIGURE 1: Wireless Sensor Network 2. Base Station Design 2.1. Hardware In our system, the base station consists of two main components, the computer and the radio. The computer is typically an inexpensive laptop that runs Ubuntu Linux. It is important to note that while most systems are using laptops with relatively small memory requirement the easiest way to improve system performance is by upgrading to a faster computer. This system supports several radio modules including the Digi DigiMesh 900 MHz and 2.4 GHz modules and the Digi XSC radio operating at 900MHz. For most cases the Digi XSC radio is utilized for its simplicity as well as for the 900 MHz operating frequency which has better range and better foliage penetration characteristics. The other radios provide features such as multi hop networking and alternate operating frequencies. It should be noted that prior work (Valada et al. 2011) has developed and implemented a multi-hop networking algorithm optimized for WSN s that can be used with the Digi XSC radios. 2.2. Software The base station software system has four primary components: the database, the base module, the user interface, and the Grower Tools module. The glue for the entire system is the SQLite3 database. SQLite3 was chosen for the fast read times associated with a file based database. Database efficiency is very important since users need to query large amounts of data (for example to create a chart). Many database optimization methods are not effective for this application. All of the data is stored in its raw form and conversions are applied as users access the data. The base module is responsible for all node communications. This module gets data from the nodes and inserts it into the database followed by sending any newly modified node parameters to the node. The base module is written in Perl which provides a full scripting language to help parse data from the nodes. The next component is the user interface. The user interface is designed using the Ruby on Rails (RoR) web framework. This RoR framework provides direct database access and allows for an object oriented approach to the data. For example to get data from the database a call such as Data.last.convert will return the most recent data entry and convert it from raw units to proper units. Another benefit to RoR is that the entire interface is a web site and is commonly configured for remote access.

The last module is for running Grower Tools. Grower Tools are derived data products that require processing; some of these tools include Vapor Pressure Deficit, Dew Point, and water use predictions made using plant specific physiological models. The Growing Tools are handled by a Ruby utility called Rake. A conventional RoR application is event driven and responds to user actions such as mouse clicks and keyboard commands. Rake allows for scripting while having full access to the methods defined in the RoR application. The Growing Tool application runs every five minutes to check if any Growing Tool needs to be run as each tool has its own run frequency. The reason for checking this every five minutes is to reduce the load on the database. The Growing Tool interface is modular and allows for the easy introduction of new Growing Tools. Each tool consists of a database record with the input and output units of the model defined and the directory where the model script (Fig. 2) is located. FIGURE 2: Model Component Flow When a user creates a model instance the Growing Tool system automatically generates an input XML file based on the units that the model wants from the nodes that are selected, runs the model script, and reads in the output file (Fig. 3). The output file is then loaded into the database where it can be plotted in a chart or used to control irrigation. 2.3. Communications FIGURE 3: Sample input and output files A node to base station communication protocol was developed with Decagon Devices to provide secure and reliable operations. In order to keep everything in a 64KB window for radio transmission efficiency and to create a more secure system, all of the data is transmitted in binary and not using ASCII characters. CRC checksums are used to verify packet integrity, and a confirm delivery protocol ensures that each message is received by the base station from the nodes. Certain commands such as manual irrigation commands have a twofold confirmation procedure where the base station first sends the request, then the node confirms it, then the base confirms the nodes confirmation in order to ensure reliability. If there are node parameters that need to be updated the base will include a flag in the confirmation packet that alerts the node to not go to sleep and wait for the configuration

updates. This method helps to conserve battery power by minimizing the awake time of the node/radio. The protocol has successfully been implemented and tested on both commercially available Decagon wireless data loggers and CMU research WSN nodes. 3. User Interface The user interface is arguably the most important part of this system as it allows the growers to use the data and derive maximum benefit from this system (Kohanbash et al. 2011). Some of the features in the user interface include the spatial view (Fig. 4), the chart view (Fig. 5), and the irrigation page (Fig. 6). FIGURE 4: Interface home screen with spatial data view The spatial view (Fig. 4) is the first page that users see when they access the base station interface. This view allows users to see the state of various node locations with a quick glance. The images can be set to display different settings by using the list at the bottom right of the page. By simply moving the mouse over an image the user can see more detailed information as well as the current trend for that measurement.

FIGURE 5: Interface chart showing temporal view. This example chart has blue bars for irrigation events, and yellow/gray bars for day/night. The chart page (Fig. 5) provides a time series view of the data for examining trends or prior data. This page allows the user to plot data from any node and from any growing tool. Users are able to set regions that are shaded to help monitor if the values are staying in the proper range. The daytime and nighttime hours are shaded in alternating colors to further help the user understand the data. This chart allows the user to instantly change zoom levels so that a user can choose the area of interest with ease. FIGURE 6: Irrigation configuration page. FIGURE 7: Irrigation master schedule viewer page. Growers can see all schedules to help coordinate proper resource utilization. The irrigation page (Fig. 6) allows the user to control what irrigation method (Lea-Cox, 2011) each node should use, what schedule it should use for irrigation, as well as send manual irrigation commands to the nodes. This enables the grower to monitor and control irrigation of specific regions all from a central remotely accessible location. Other tools further enhance the irrigation experience such as the master schedule viewer (Fig. 7). The user interface also has other tools such as data exporting, sensor calibration configuration, user/group controls, mouse over tooltip support throughout the interface and a node configuration tool. By providing the user with easy to use tools and out of the box functionality, the learning curve is reduced while the productivity and benefits are increased.

4. Conclusions 4.1. Conclusion This design has proven to be very effective at providing reliable data handling and node communications. Additionally, this work has developed a user interface that is easy to use and provides growers with the tools to make intelligent data driven decisions. Providing a flexible user interface enables users of various levels to use the system successfully. For more information on this project please visit http://www.smart-farms.net to learn how to save water, increase efficiency and to reduce environmental impacts. 4.2. Future Work There is still significant work to be done to improve the usefulness of WSN s for sensing and control agricultural settings. The first area of work needed is the development tools to maximize the actionable results that requires less grower effort and training than the existing techniques. Another key area for future work is to continue to add features to the user interface. For example this system demonstrates a spatial view of data, however expanding that to a 3D spatial view showing sensors at different depths would be very informative to growers and researchers trying to understand factors such as sub-surface water movement and canopy temperature/humidity conditions. 5. Acknowledgments We gratefully acknowledge the USDA for supporting us with the USDA-NIFA Specialty Crops Research Initiative Award # 2009-51181-05768. This support has made this research and development possible. The authors would also like to thank Todd Martin of Decagon Devices for his help with this work. Reference list Kohanbash D., Valada, A. & Kantor, G.A. (2011). Wireless Sensor Networks and Actionable Modeling for Intelligent Irrigation. Amer. Soc. Agric. Biol. Eng. 7-12th August, 2011. Louisville, KY. Paper #1111174. 7p. Lea-Cox, J. D. 2012. Using Wireless Sensor Networks for Precision Irrigation Scheduling. Chapter 12. In: Problems, Perspectives and Challenges of Agricultural Water Management. M. Kumar (Ed.) InTech Press. Rijeka, Croatia. pp. 233-258. http://www.intechopen.com Valada, A., Kohanbash D., Kantor G. A. (2011). DSRP: Distributed SensorWeb Routing Protocol. 21 st International Conference on Electronics, Communications, and Computers.