Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Intro State Worldsens WSim WSim+WSNet Worldsens : Development and Prototyping Tools for Application Specific Wireless Sensors Networks Guillaume Chelius Éric Fleury Antoine Fraboulet CITI Laboratory INSA Lyon INRIA ARES Project Wasp IST-034963 A. Fraboulet, WASP IST-034963, Lille Meeting 1 Intro State Worldsens WSim WSim+WSNet Worldsens : Application Specific Design Flow Application Specifications and Constraints WSNet simulation High Level Design Distributed application protocols Hardware Platform Distributed Simulation Implementation Choices WSim + WSNet Software Specification − Application − Network protocol − Operating System Software Implementation Cross−compiler tools Target binary ready for deployment High Level Design of Distributed Application A. Fraboulet, WASP IST-034963, Lille Meeting Design Implementation Choices Performance Evaluation and System Validation 2 Intro State Worldsens WSim WSim+WSNet Worldsens : Design Tools WSim : hardware platform simulation Temporal simulation Complete hardware platform simulator Peripheral management Handles target application binary code WSNet : wireless network simulation Classical event-driven simulator Physical layer & radio medium consideration UDP/IP frontend WSNet + WSim : complete distributed system simulation A. Fraboulet, WASP IST-034963, Lille Meeting 3 Intro State Worldsens WSim WSim+WSNet WSim platform simulator Software oriented simulator Models characteristics Instruction precise (asm) Models the complete platform (CPU + peripherals) Has a reduced complexity for simpler construction and faster usage. Features Can interact with external tools and simulators. Fully instrumented for Debug Performance estimation Energy consomption analysis A. Fraboulet, WASP IST-034963, Lille Meeting 4 Intro State Worldsens WSim WSim+WSNet WSim Simulation/Execution Loop Instruction Execution Clock system Internal Periphs Configuration and I/O Time evaluation Internal Periphs Update Plateform Write Read Update libSelect() MCU > Dev MCU < Dev Dev update GUI IRQ Evaluation A. Fraboulet, WASP IST-034963, Lille Meeting 5 Intro State Worldsens WSim WSim+WSNet WSim Simulation/Execution Loop Instruction Execution cycles Clock system Internal Periphs Configuration and I/O Time evaluation Internal Periphs Update Plateform Write Read Update libSelect() MCU > Dev MCU < Dev Dev update GUI LPM IRQ Evaluation A. Fraboulet, WASP IST-034963, Lille Meeting 5 Intro State Worldsens WSim WSim+WSNet WSim Simulation/Execution Loop Instruction Execution cycles Clock system Internal Periphs Configuration and I/O Time evaluation Internal Periphs Update Plateform Write Read Update libSelect() MCU > Dev MCU < Dev Dev update GUI yes no LPM IRQ Evaluation A. Fraboulet, WASP IST-034963, Lille Meeting 5 Intro State Worldsens WSim WSim+WSNet WSim Simulation/Execution Loop Instruction Execution cycles Clock system Internal Periphs Configuration and I/O Time evaluation Plateform Write Read Update GUI libSelect() MCU > Dev MCU < Dev Dev update WSNet external events Internal Periphs Update yes no LPM IRQ Evaluation A. Fraboulet, WASP IST-034963, Lille Meeting 5 Intro State Worldsens WSim WSim+WSNet Instruction Precise Simulation 25 Precise reports CC1100 States 20 15 10 Power Modes Communications 5 0 Interrupts 0 1000 2000 3000 4000 5000 7 Node activity 6 5 IRQ 4 3 Simultaneous events Off-line analysis 2 1 0 1000 2000 3000 4000 5000 Leds 0 0 0 1000 2000 3000 4000 A. Fraboulet, WASP IST-034963, Lille Meeting 5000 Performance Evaluation Code performance Memory footprint Power consumption 6 Intro State Worldsens WSim WSim+WSNet Frequency Scaling Clock modules simulation 4e+06 3.5e+06 TinyOS 2.x 3e+06 2.5e+06 2e+06 1.5e+06 1e+06 Nodes clock skew and drift Energy estimation 500000 0 Variable Frequencies 0 5 10 15 20 time (ms) 25 30 35 40 5e+06 Clocking System Simulation 4.5e+06 4e+06 nanosecondes MCLK MantisOS 3.5e+06 3e+06 2.5e+06 2e+06 1.5e+06 LFXT1 ACLK 32768Hz 1e+06 500000 0 0 DCOCLK 50 100 150 time (ms) 200 250 ACLKn 300 XT2 SMCLK paramétrée A. Fraboulet, WASP IST-034963, Lille Meeting 7 Intro State Worldsens WSim WSim+WSNet Target Code Debug A. Fraboulet, WASP IST-034963, Lille Meeting 8 Intro State Worldsens WSim WSim+WSNet Performance Evaluation : Source Code Annotation A. Fraboulet, WASP IST-034963, Lille Meeting 9 Intro State Worldsens WSim WSim+WSNet Hybrid simulation Clock 00 11 11 00 000 111 000 111 00 00 11 000 111 00011 111 00 11 000 111 000 111 00 11 000 111 000 111 000 111 000 111 00 000 111 000 111 000 111 000 11 111 00 11 000 111 000 111 00 11 0 1 0 1 00 1 11 0 0 1 16bits CPU MSP430 Flash RAM SPI 16 bits CC1100 Radio Module 8 bits peripherals 1wire External Serial interface Serial Id Node simulator WSim SPI 1MB Flash Memory Radio simulator UDP/IP network packets events A. Fraboulet, WASP IST-034963, Lille Meeting WSNet 10 Intro State Worldsens WSim WSim+WSNet Hybrid simulation Clock 00 11 11 00 000 111 000 111 00 00 11 000 111 00011 111 00 11 000 111 000 111 00 11 000 111 000 111 000 111 000 111 00 000 111 000 111 000 111 000 11 111 00 11 000 111 000 111 00 11 0 1 0 1 00 1 11 0 0 1 16bits CPU MSP430 Flash RAM SPI 16 bits CC1100 Radio Module 8 bits peripherals 1wire External Serial interface Serial Id SPI 1MB Flash Memory Node simulator Node simulator WSim UDP/IP network packets events A. Fraboulet, WASP IST-034963, Lille Meeting WSim Radio simulator Node simulator WSim WSNet Node simulator WSim 10 Intro State Worldsens WSim WSim+WSNet Hybrid simulation Clock 00 11 11 00 000 111 000 111 00 00 11 000 111 00011 111 00 11 000 111 000 111 00 11 000 111 000 111 000 111 000 111 00 000 111 000 111 000 111 000 11 111 00 11 000 111 000 111 00 11 0 1 0 1 00 1 11 0 0 1 16bits CPU MSP430 Flash RAM SPI 16 bits CC1100 Radio Module 8 bits peripherals GCC cross compiler toolchain 1wire Application binary file GDB local/remote debugging External Serial interface Serial Id Node simulator TCP/IP GDB remote protocol Node simulator WSim Serial comm software SPI 1MB Flash Memory base station serial link Database storage A. Fraboulet, WASP IST-034963, Lille Meeting WSim Radio simulator UDP/IP network packets events Node simulator WSim WSNet Node simulator WSim 10 Intro State Worldsens WSim WSim+WSNet Tutorial website http ://wsim.gforge.inria.fr/tutorials/wasp/ A. Fraboulet, WASP IST-034963, Lille Meeting 11