Unit 2 Wireless Sensor Networks
Unit 2 Wireless Sensor Networks
26
Overview of Sensor Node
• A basic sensor node comprises five main components
are shown in the Figure.
• Controller: To process all relevant data
• Memory: To store programs and intermediate data.
• Sensors and actuators: Actual interface to the physical
world to observe or control physical parameters of the
environment.
• Communication: Device for sending and receiving
information over a wireless channel
• Power supply: Some form of batteries necessary to
provide energy and some form of recharging by
obtaining energy from the environment as well.
27
Fig 8 / Basic Components of a Sensor Node
28
Controllers
• The controller is the core of a wireless sensor node.
• It is the Central Processing Unit (CPU) of the node
• It collects data from sensors, processes this data,
receives data from other sensor nodes, and decides on
the actuator’s behavior.
• It has to execute various programs, ranging from time-
critical signal processing and communication protocols
to application programs.
• Such a variety of processing tasks can be performed on
various controller architectures, representing trade-offs
between flexibility, performance, energy efficiency, and
costs.
29
• Microcontrollers are suitable for WSNs since they can
reduce their power consumption by going into sleep
states where only parts of the controller are active.
• One of the main differences to general-purpose
systems is that microcontroller-based systems do not
include a memory management unit – for example,
protected or virtual memory is difficult.
• In a wireless sensor node, DSP can be used to process
incoming data. But the advantages of a DSP are not
required in a WSN node and they are usually not used.
• Another option for the controller is to use Field-
Programmable Gate Arrays (FPGAs) or Application-
Specific Integrated Circuits (ASICs) instead of
microcontrollers. 30
• An FPGA can be reprogrammed in the field to adapt to
a changing set of requirements , but this can take time
and energy.
• An ASIC is a specialized processor, designed for a given
application such as high-speed routers and switches.
• The typical trade-off here is loss of flexibility in return
for a considerably better energy efficiency and
performance.
31
Memory
• There is a need for Random Access Memory (RAM) to
store intermediate sensor readings, packets from other
nodes etc.
• RAM is fast, but it loses its contents if power supply is
interrupted.
• The program code can be stored in Read-Only Memory
(ROM) or in Electrically Erasable Programmable Read-
Only Memory (EEPROM) or flash memory.
• Flash memory can also serve as intermediate storage of
data when the power supply goes off for some time.
• The long read and write access delays of flash memory
should be taken into account as well as the high
required energy.
32
Communication Module
1. Choice of transmission medium
• The first choice is the transmission medium and usual
choices include radio frequencies, optical
communication, and ultrasound.
• Radio Frequency (RF)-based communication is vital
requirement of most WSN applications.
• It provides long range and high data rates, acceptable
error rates at reasonable energy expenditure, and does
not require line of sight between sender and receiver.
• For a practical wireless, RF-based system, the carrier
frequency has to be carefully chosen. The wireless
sensor networks use communication frequencies
between about 433 MHz and 2.4 GHz.
33
2. Transceivers
• For actual communication, both a transmitter and a
receiver are required in a sensor node to convert a bit
stream coming from a microcontroller and convert them
to and from radio waves. Such combined devices are
called transceivers.
• Usually, half-duplex operation is realized since
transmitting and receiving at the same time on a
wireless medium is impractical in most cases. A range of
low-cost transceivers is available that incorporate all the
circuitry required for transmitting and receiving,
modulation, demodulation, amplifiers, filters, mixers
etc..
34
Sensors & Actuators
• Sensors can be categorized into the following three
categories -
1. Passive Omni-directional sensors:
• They can measure a physical quantity at the point of
the sensor node without manipulating the environment
by active probing. They obtain the energy directly from
the environment – energy is only needed to amplify
their analog signal. There is no notion of “direction in
these measurements. Typical examples include
thermometer, light sensors, vibration, microphones,
humidity, chemical sensors etc
37
2. Passive narrow-beam sensors: They are passive but
have a well-defined notion of direction of
measurement. A typical example is a camera, which
can “take measurements” in a given direction, but has
to be rotated if need be.
3. Active sensors: They probe the environment, for
example, a sonar or radar sensor or some types of
seismic sensors, which generate shock waves by small
explosions.
38
Power Supply of Sensor Nodes
1. Traditional batteries
• The power source of a sensor node is a battery, either
non-rechargeable (primary batteries) or, if an energy
scavenging device is present on the node, also
rechargeable (secondary batteries).
• In some form or other, batteries are electro-chemical
stores for energy – the chemicals being the main
determining factor of battery technology.
39
2. Energy scavenging
• Some of the unconventional energy sources like fuel
cells, micro heat engines and radioactivity – convert
energy from stored secondary form into electricity in a
easy way than a normal battery would do.
• The entire energy supply is stored on the node itself –
once the fuel supply is exhausted, the node fails.
• The energy from a node’s environment must be tapped
into and made available to the node – energy
scavenging should take place.
40
3. Photo-voltaics
The solar cells can be used to power sensor nodes. The
available power depends on whether nodes are used
outdoors or indoors, and on time of day. The resulting
power ranges between 10 mW/cm2 indoors and 15
mW/cm2 outdoors. Single cells achieve a fairly stable
output voltage of about 0.6 V. Hence, solar cells are
used to recharge secondary batteries.
4. Temperature gradients
Differences in temperature can be directly converted to
electrical energy. Theoretically, even small difference
for example, 5 K can produce considerable power, but
practical devices fall very short of theoretical upper
limits.
41
5. Vibrations
Walls or windows in buildings are resonating with cars
or trucks passing in the streets, machinery often has
low- frequency vibrations, ventilations also cause it,
and so on. The available energy depends on amplitude
and frequency of the vibration and ranges between 0.1
mW/cm3 and 10, 000 mW/cm3 for some extreme
cases.
42
Energy supply for a sensor node is at a premium
Batteries have small capacity, and recharging by energy
scavenging is complicated and volatile.
Hence, the energy consumption of a sensor node must
be tightly controlled.
The main consumers of energy are the controller, the
radio front ends, to some degree the memory, and,
depending on the type, the sensors.
The components involved in energy consumption are:
Radio transceivers
Relationship between computation and communication
Power consumption of sensors and actuators
One important contribution to reduce power
consumption of these components comes from chip-
level and lower technologies
Designing low-power chips is the best starting point for
an energy-efficient sensor node
Introducing and using multiple states of operation with
reduced energy consumption in return for reduced
functionality is the core technique for energy-efficient
wireless sensor node
Embedded controllers commonly implement the concept of multiple
operational states
The Intel Strong ARM provides three sleep modes:
▪ Normal mode : All parts of the processor are fully powered. Power
consumption is up to 400 mW.
▪ Idle Mode: Clocks to the CPU are stopped; clocks that pertain to peripherals
are active. Any interrupt will cause return to normal mode. Power
consumption is up to 100 mW.
▪ Sleep Mode : Only the real-time clock remains active. Wakeup occurs after a
timer interrupt and takes up to 160 ms. Power consumption is up 50 μW
The most relevant kinds of memory are
controllers.
node lifetime.
The relevant metrics are the read and write times and
energy consumption.
should be turned off most of the time and only be activated when necessary – they
work at a low duty cycle. But this incurs additional complexity, time and power
impact on the protocol design, models for the energy consumption per bit for both
For other hardware, the ratio of the energy consumption to send one bit
Rockwell WINS nodes, between 220 to 2900 for MEDUSA II nodes, and
about 1400 for WINS NG 2.0 node for the RFM TR1000 radio transceiver,