Download TCD-CS-2008-17

Transcript
3
Work Undertaken
A Mote has a finite life, largely limited by two factors, the power supply and the flash
memory. The most common source of power in motes is a battery. Each operation
performed depletes the battery, until there is no power left and the mote dies. A mote
that dies in this manner can be brought back to life by replacing the battery, so it is
more akin to being in a coma than dying. Whether or not it is feasible to replace the
battery depends on the application and environment of the mote. In military
applications it is likely to be cheaper to drop more motes into the network than to
replace the batteries. Motes use flash memory for long term memory. This memory is
used to retain data while the device has no power or is turned off. A mote can record
measurements to the flash memory until the power dies. If the battery is replaced, the
recorded measurements can then be retrieved.
The number of times that a flash memory can be rewritten is finite, usually in excess
of 100,000 operations. Once this limit has been exceeded, the memory becomes
unusable, thus rendering the mote useless for many applications. Unlike the battery, it
is not cost effective to replace flash memory. A scheme can be implemented to
ensure that flash memory is used in a round robin fashion so that the start of the
memory is not used more than any other part, as normally happens in logging
applications. It is also possible to reserve a section of the flash memory to record the
number of write operations and therefore estimate the remaining life of the flash
memory. However, writing to this area repeatedly can overuse this section of memory
thus defeating the purpose of the scheme. Such schemes need standardisation at the
operating system level as the possibility of any application bypassing the scheme
renders it useless. In practice, the lifetime of the flash memory for most applications is
much greater than the number of measurements recorded.
This thesis focuses on power consumption. The results of measuring power drain on
Mica2 devices when constantly computing, constantly transmitting, constantly
receiving and constantly sensing are recorded. A method for providing individual
nodes with self-awareness of their life expectancy is developed through the addition
of a self-preservation module. A node aware of its impending demise can take
evasive action to preserve power. For example, a node having collected imported
data could enter a low power listening mode and refuse to process any signals until it
19