TOSHILT: TinyOS HardwareintheLoop Testing for Wireless Sensor Networks - PowerPoint PPT Presentation

1 / 31
About This Presentation
Title:

TOSHILT: TinyOS HardwareintheLoop Testing for Wireless Sensor Networks

Description:

TOSHILT: TinyOS Hardware-in-the-Loop Testing for. Wireless Sensor Networks ... Ford, Toyota, Visteon, Another Tier 1 Automotive Supplier, SwRI, GM, LM, Hyundai ... – PowerPoint PPT presentation

Number of Views:255
Avg rating:3.0/5.0
Slides: 32
Provided by: rsinformat3
Category:

less

Transcript and Presenter's Notes

Title: TOSHILT: TinyOS HardwareintheLoop Testing for Wireless Sensor Networks


1
TOSHILT TinyOS Hardware-in-the-Loop Testing for
Wireless Sensor Networks
  • Carnegie Mellon University

2
HIL Testing for Embedded Systems
Laptop
Desktop PC
HIL Software dSPACE ControlDesk
ASAP3
Calibration Software ATI Vision
serial
API
custom
custom
Ford Test Engineer launches tests via SVM
Signal Conditioning BreakoutBox
HIL System(Plant Simulator)
Production Controller
Users Ford, Toyota, Visteon, Another Tier 1
Automotive Supplier, SwRI, GM, LM, Hyundai
3
HIL Testing for Embedded Systems
Laptop
Desktop PC
  • Objective
  • test real-time embedded software
  • on target processors
  • under realistic operating conditions

HIL Software dSPACE ControlDesk
ASAP3
Calibration Software ATI Vision
serial
API
custom
custom
Ford Test Engineer launches tests via SVM
Signal Conditioning BreakoutBox
HIL System(Plant Simulator)
production embedded processor
Users Ford, Toyota, Visteon, Another Tier 1
Automotive Supplier, SwRI, GM, LM, Hyundai
4
HIL Testing for Embedded Systems
Laptop
Desktop PC
HIL Software dSPACE ControlDesk
ASAP3
Calibration Software ATI Vision
using real-time emulation of the test cases
serial
API
custom
custom
Ford Test Engineer launches tests via SVM
Signal Conditioning BreakoutBox
HIL System(Plant Simulator)
production embedded processor
Users Ford, Toyota, Visteon, Another Tier 1
Automotive Supplier, SwRI, GM, LM, Hyundai
5
HIL Testing for Embedded Systems
Laptop
Desktop PC
rather than testing the code for the first time
with the complete environment !
HIL Software dSPACE ControlDesk
ASAP3
Calibration Software ATI Vision
serial
API
custom
custom
Ford Test Engineer launches tests via SVM
Signal Conditioning BreakoutBox
HIL System(Plant Simulator)
production embedded processor
Users Ford, Toyota, Visteon, Another Tier 1
Automotive Supplier, SwRI, GM, LM, Hyundai
6
HIL Testing for Embedded Systems
Laptop
Desktop PC
HIL Software dSPACE ControlDesk
ASAP3
Calibration Software ATI Vision
serial
API
HIL testing is standard practice for automotive
and avionics systems
custom
custom
Ford Test Engineer launches tests via SVM
Signal Conditioning BreakoutBox
HIL System(Plant Simulator)
production embedded processor
Users Ford, Toyota, Visteon, Another Tier 1
Automotive Supplier, SwRI, GM, LM, Hyundai
7
HIL testing for WSNs
8
HIL testing for WSNs
  • Objective
  • test WSN application software
  • on the target WSN
  • under realistic operating conditions

9
HIL testing for WSNs
without having to run the actual test scenario
10
The TOSHILT Approach
Emulate the scenario in real time on every node
using virtual sensors
11
The TOSHILT Approach
Virtual sensor signals
12
The TOSHILT Architecture
  • middleware provides services to
  • preload sensor emulation data (before test)
  • run-time sensor emulation
  • interfaces to TinyOS services

13
TOSHILT Demo Overview
  • WSN application VigilNet
  • test scenario
  • target tracking classification
  • repeated with different noise levels

14
TOSHILT Demo Overview
  • WSN application VigilNet
  • test scenario
  • target tracking classification
  • repeated with different noise levels
  • VigilNet will operate as if real targets are
    creating the sensor signals

15
Demo Overview
  • Sensor emulation data preloaded
  • Turn on base mote
  • VigilNet initialization 5 minutes
  • Two passes low high system noise

16
(No Transcript)
17
Using TOSHILT
  • Generate sensor emulation data
  • MATLAB target simulation
  • location-specific sensor data
  • compression for on-line tables
  • Preload sensor emulation data to each sensor node
  • Run the application

18
TOSHILT Components
19
TOSHILT Components
  • TOSHILT base station
  • preloads scenario datato each sensor node

20
TOSHILT Components
  • TOSHILT middleware
  • pre-loads scenario data
  • emulates sensors duringtest

21
TOSHILT Components
  • WSN Application
  • operates as usual

22
Preloading Scenario Data
  • HIL base station command-line interface
  • Loads EEPROMs on each mote with its sensor
    emulation data
  • Missed-data error recovery

23
On-Board Scenario Data
EEPROM
24
On-Board Scenario Data
EEPROM
memory map
25
On-Board Scenario Data
EEPROM
noise magnitudes
26
On-Board Scenario Data
EEPROM
  • sensor data
  • time stamps
  • magnitudes

4 Kb (of 512) for 2.5 min scenario
27
On-Board Scenario Data
EEPROM
  • run-time
  • prefetch
  • interpolate

28
Emulated Sensor Signals
  • MATLAB simulation of targets moving through field
  • proximity-based signal created for each sensor
  • data compression for linear interpolation

29
Run-Time Sensor Emulation
  • linear interpolation betweenemulation data
    points
  • characteristic signal for each sensor
  • scaled noise levels for each pass through the
    scenario
  • reads ADC for realistic timing

30
TOSHILT Recap
  • HIL test for WSNs
  • tests application code on target WSN
  • virtual sensors provide realistic test cases
  • Purpose
  • debugging deployed application software
  • performance analysis tuning
  • what-if evaluation

31
HIL vs. Simulation
  • Simulation never includes
  • full details of the WSN environment
  • true concurrency
  • actual RF transmission characteristics
  • all features of the application code
  • HIL exercises the complete application code in
    the actual WSN environment
Write a Comment
User Comments (0)
About PowerShow.com