IDEA1 Models short description

IDEA1 Models short description. Main.cpp ... receives states, their durations and current from xxxbattery.h, to calculate power and energy. It is not a battery model ...
129KB taille 9 téléchargements 313 vues
IDEA1 Models short description

Main.cpp Creation of network, composition of nodes (timers + micro + RF + proxy) and coordinator (timers + micro + RF + proxy, no sensor) See radioType (MRF24J40 or CC2420) mcuType (PIC Create neighbors list Launch simulation for time = SIMULATION_TIME Record in VCD Calculation of PDR (uncomment if commented)

globalconf.h parameters of protocol, number of PIC & AVR nodes, voltage … globaldef.h IEEE80.2.15.4 parameters, keywords, different cout outputs

Include/Network Modified SCNSL network_t : C++ network that connects nodes through proxies. Calculated reachability for star topology

Include/Nodeproxy SCNSL proxy (C++) that connects node or coordinator to network. Modifies packet to send 1 (parallel) data (packet_t) containing serial packet (wireless) + time of N bits.

Include/Timer_t Internal node timer. Processor Contains MCU models Genericmcu Finite State Machine of node MCU. Here is functionality (application) and protocol (according to RF device, more or less "smart" i.e. HW support of MAC). Genericmcu Finite State Machine of coordinator MCU. xxxbattery.h MCU (AVR, MSP, PIC) current consumption. Will be used in battery/genericbattery model Institut des Nanotechnologies de Lyon UMR CNRS 5270 – Ecole Centrale de Lyon Bâtiment F7 – 36, avenue Guy de Collongue – 69134 Ecully Cedex - France Tel: +33 (0)4 72 18 60 43 – Fax : +33 (0)4 72 43 35 93– http://inl.cnrs.fr

Battery genericbattery receives states, their durations and current from xxxbattery.h, to calculate power and energy. It is not a battery model but a monitoring model.

radiofrequency contains RF devices cc2420 cc2420 Finite State Machine. Mrj24j40 cc2420 Finite State Machine.

Sensor Models a sensor. Basic model is a random value between 0v and SUPPLY_Voltage with 1ms delay.

Note : Future GUI release will have to generate globalconf.h and main.cpp and compile & run.

Institut des Nanotechnologies de Lyon UMR CNRS 5270 – Ecole Centrale de Lyon Bâtiment F7 – 36, avenue Guy de Collongue – 69134 Ecully Cedex - France Tel: +33 (0)4 72 18 60 43 – Fax : +33 (0)4 72 43 35 93– http://inl.cnrs.fr