logo
Published on Enalab (http://enaweb.eng.yale.edu/drupal)

MATSNL: A MATLAB Wireless Sensor Node Platform Lifetime Prediction & Simulation Package

By andreas
Created 2007-02-20 02:53

Note: MATSNL 2.0 is updated. The new manual is under revision now. If you have any question regarding to MATSNL 2.0, please send e-mail to author.

What is MATSNL?

MATSNL is a package of MATLAB M-files for computing wireless sensor node lifetime/power budget and solving optimal node architecture choice problems. It is intended as an analysis and simulation tool for researchers and educators that are easy to use and modify. MATSNL is designed to give the rough power/ lifetime predictions based on node and application specifications while giving useful insight on platform design for the large node lifetime by providing side-by-side comparison across various platforms. The MATSNL code and manual can be found at the bottom of this page. A related list of publications describing the models used in MATSNL is posted on the ENALAB part of the 2 project at http://www.eng.yale.edu/enalab/aspire.htm [1] [2]

Where did it come from?

MATSNL was developed by Deokwoo Jung at Yale University under the direction of Andreas Savvides. It has been initially developed for predicting node lifetime and power of different types of wireless sensor platform so that make rough decision for architecture prior to actual implementation. Now its functionalities are expanding to more complex platform architecture, ASPIRE (Antipodal Staged Processing in Role-adaptive Embedded Systems).(See http://www.eng.yale.edu/aspire/ [3] ).

Getting Started

System Requirements

To use MATSNLyou will need: MATLAB Version 7.1 or later1

Installation

Step 1: Download matsnl.zip

.Step 2: Unzip the downloaded file.

Step 3: Place the files in a location in your MATLAB path.

Step 4: Run makepath.m

Running a Lifetime Analysis

To run a simple lifetime comparison / analysis on the platforms specified in the file platform_<name>.m, with the default configuration options, at the MATLAB prompt, type:>> complf({'name1',’name2’,..’name4’});

For example, if one wants to compare the lifetimes among XYZ, iMote2, Mica2, Telos, and ZN1, type:>> complf({'xyz','imote2','mica2','telos','zn1'});

Running an Power Analysis

To run a simple power budget comparison/ analysis on the platform specified in the file platform_<name>.m, with the default configuration options, at the MATLAB prompt, type:>> comppwr({'name1',’name2’,..’name4’});

For example, if one wants to compare the lifetimes among XYZ, iMote2,Mica2, Telos, and ZN1, type:>> comppwr({'xyz','imote2','mica2','telos','zn1'});

Running an Preprocessor Power Analysis

To run a simple preprocessor power analysis on the platform specified in the file platform_<name>.m, with the default configuration options, at the MATLAB prompt, type:>> compprep('name'); For example, if one wants to compare the lifetimes among XYZ:>> compprep('xyz'); This does not support multiple platform comparisons.

Running Simulation

To run simple energy dissipation Markov chain simulation on the schedule-driven iMote2 platform with 20 min of event inter arrival time, detection probability from 0.1 to 0.8, and the default configuration options, at the MATLAB prompt, type:>>comp_sim ('imote2',[20],[0.1 0.8]); To run simple energy dissipation Markov chain simulation on the trigger-driven iMote2 platform with event inter arrival time from 10 min to 1hour and the default configuration options, at the MATLAB prompt, type:>> comp_sim('imote2',[10 60],[-1]);

Getting Help

As with MATLAB’s built-in functions and toolbox routines, you can type ‘help’ followed by the name of a command or M-file to get help on that particular function. All of MATSNL’s M-files have such documentation.

For further information, unzip the matsnl.zip file and read the manual.

*Note: This code is tested only for MATLAB Version 7.1.0.246 (R14)Some lower version of Matlab may make syntax erros. Lower version of Toolbox code will be updated soon after testing other version of MATLAB programs

AttachmentSize
MATSNL_ver2.0.zip [4]1.06 MB
Manual.pdf [5]509.29 KB

Source URL:
http://enaweb.eng.yale.edu/drupal/drupal/MATSNL