Ad Hoc Ii
Ad Hoc Ii
Challenges for Wireless Sensor Networks, Enabling Technologies for Wireless Sensor
Networks, WSN application examples, Single-Node Architecture – Hardware Components,
Energy Consumption of Sensor Nodes, Network Architecture – Sensor Network Scenarios,
Transceiver Design Considerations, Optimization Goals and Figures of Merit.
For handling wide range of applications, WSN should have the following characteristics.
Realizing these characteristics with new mechanisms is the major challenge of the vision of
wireless sensor networks.
1. Characteristic Requirements
(i)Type of Service
• The conventional communication network simply moves the bits from one place to
another. But the WSN is expected to provide a meaningful information or actions
about a given task.
(ii)Quality of Service
• When the amount and quality of information is needed, the packet delivery ratio is not
important.
(iii)Fault tolerance
• When the wireless communication between two nodes are damaged or permanently
interrupted, then the WSN should be able to tolerate such faults.
(iv)Scalability
• When WSN includes a large number of nodes, the employed architectures and
protocols must be able scale to these numbers.
(v)Lifetime
• Nodes will have only limited supply of energy (using batteries).Replacing these
energy sources in the field is usually not practicable. So WSN must operate at least
for a given mission time or as long as possible.
• A power source like solar cells might also be available on a sensor node.
• The lifetime of a network also has direct trade-offs against quality of service:
investing more energy can increase quality but decrease lifetime.
• In a WSN, the density of the network is the number of nodes per unit.
• Density can vary over time and space because nodes fail or move.
(vii)Programmability
• When there is in need of new task, these nodes should be programmable .The nodes
(viii)Maintainability
• WSN has to monitor its own health and status to change operational parameters or to
choose different trade-offs (e.g. to provide lower quality when energy resource
become scarce).
• WSN has to maintain itself and able to interact with external maintenance
mechanisms to ensure its extended operation at a required quality
2. Required Mechanism
(iii)Auto Configuration
(v)Data centric
(vi)Locality
• The use of intermediate nodes as relays can reduce the total required power.
Hence,for WSN, multihop communication will be a necessary ingredient.
(ii)Energy-efficient operation
• To support long lifetimes, energy-efficient data transport between nodes are needed
and it is measured in J/Bit.
(iii)Auto-configuration
• Nodes should be able to determine their geographical positions only using other nodes
of the network – so called “self-location”.
• The network should be able to tolerate failing nodes (because of a depleted battery,
for example) or to integrate new nodes (because of incremental deployment after
failure, for example).
• Every node transmits all data to an external network and process it “at the edge” of
the network.
• Data centric
• In WSN , the answers and values themselves are important , not which node
has provided them. Hence, switching from an address-centric paradigm to a
data-centric paradigm in designing architecture and communication protocols
is promising.
• Nodes, which are very limited in resources like memory, should attempt to limit the
state that they accumulate during protocol processing to only information about their
direct neighbors.
(vii)Exploit trade-offs
• Longer lifetime of the entire network trades off against lifetime of individual nodes.
Building wireless sensor networks has only become possible with some fundamental
advances in enabling technologies.
Miniaturization of hardware:
First and foremost, among these technologies is the miniaturization of hardware. Smaller
feature sizes in chips have less power consumption of the basic components of a sensor node.
This is particularly relevant to microcontrollers and memory chips as such, but also, the radio
modems, responsible for wireless communication, have become much more energy efficient.
Reduced chip size and improved energy efficiency is accompanied by reduced cost, which is
necessary to make redundant deployment of nodes.
Sensing Equipment
The actual sensing equipment is the third relevant technology. However, it is difficult to
generalize because of the vast range of possible sensors. The basic parts of a sensor node
have to accompanied by power supply.
This requires, depending on application, high capacity batteries that last for long times
battery having negligible self-discharge rate, and that can efficiently provide small amounts
of current. Ideally, a sensor node also has a device for energy scavenging, recharging the
battery with energy gathered from the environment.Eg Solar cells or vibration-based power
generation. Such a concept requires the battery to be efficiently chargeable with small
amounts of current, which is not a standard ability. The counterpart to the basic hardware
technologies is software. The division of tasks and functionalities in a single node is done by
the architecture of the operating system or runtime environment. This environment has to
support simple retasking, cross-layer information exchange, and modularity to allow for
simple maintenance. This software architecture on a single node has to be extended to
structure interfaces for application programmers.
APPLICATIONS OF WSN:
2. Environment control
4. Intelligent buildings
5. Facility management
6. Precision agriculture
8. Logistics
9. Telematics
• Sensor nodes are equipped with thermometers and can determine their own location .
• These sensors are deployed over a wildfire, for example, a forest, from an airplane.
• They collectively produce a “temperature map” of the area or determine the perimeter
of areas with high temperature that can be accessed from the outside by firefighters
equipped with Personal Digital Assistants (PDAs).
Environment control:
• WSNs can be used to control the environment, for example, with respect to chemical
pollutants – a possible application is garbage dump sites.
• For the construction of offshore wind farms ,WSN is used in the surveillance of the
marine ground floor to understand the erosion processes
Biodiversity mapping:
• WSNs is used to gain an understanding of the number of plant and animal species
that live in a given habitat (biodiversity mapping).
• WSNs are the long-term, unattended, wirefree operation of sensors close to the
objects that have to be observed
• Sensors can be made small enough which they negligibly disturb the observed
animals and plants.
Intelligent buildings:
• Buildings waste more amounts of energy by inefficient Humidity, Ventilation and Air
Conditioning (HVAC) usage.
• WSN is used to monitor the temperature, airflow, humidity, and other physical
parameters in a building
• This increase the comfort level of inhabitants and reduce the energy consumption
• It is used to measure the bending load of girders to know whether it is still safe to
enter a given building after an earthquake or whether the building is on the brink of
collapse .
Facility management:
• WSN is used to detect the intruders, for example of vehicles that pass a street outside
of normal business hours.
• Sensor nodes are used to detect the vibration patterns that indicate the need for
maintenance.
• Examples for such machinery could be robotics or the axles of trains for eg tire
pressure monitoring
• The main advantage of WSNs is the cable free operation, avoiding a maintenance
problem in itself and allowing a cheap, often retrofitted installation of such sensors.
• Sensors should have long battery power since exchanging batteries is usually
impractical and costly.
Precision agriculture:
• Similarly, pest control can profit from a high-resolution surveillance of farm land.
• Sensor is attached to each pig or cow, which controls the health status of the animal
(by checking body temperature, step counting, or similar means) and raises alarms if
given thresholds are exceeded.
• No cable is an advantage
• Also, patient and doctor tracking systems within hospitals can be literally life saving.
Logistics:
• It is very difficult to imagine how a passive system can be used to locate an item in a
warehouse
• It can also not easily store information about the history of its attached object
• Hence sensors are used to track the parcels during transportation or in warehouses.
Telematics:
• Sensors are embedded in the streets or roadsides and gather information about traffic
conditions
• This “intelligent roadside” could also interact with the cars to exchange danger
warnings about road conditions or traffic jams ahead.
SINGLE-NODE ARCHITECTURE:
1. Controller
2. Communication devices
3. Sensors and Actuators
4. Memory
5. Power supply
• Controller -A controller is used to process all the relevant data, capable of executing
arbitrary code.
• Memory -Different types of memory are used to store programs and data.
• Sensors and actuators The actual interface to the physical world: devices that can
observe or control physical parameters of the environment.
• Power supply - Batteries are necessary to provide energy. Recharging the battery
may obtain from solar cell
Controller:
The controller is the core and Central Processing Unit (CPU) of a wireless sensor node. It is
used to process all the relevant data, capable of executing arbitrary code.
• Receives the 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.
• Reduce their power consumption by going into sleep states where only parts of the
controller are active
• Their architecture and their instruction set are used for processing large amounts of
vectorial data. In broadband wireless communication, DSPs are an appropriate and
successfully used platform.
• But in wireless sensor networks, the signal processing tasks related to the actual
sensing of data is also not overly complicated. Hence, these advantages of a DSP are
typically not required in a WSN node and they are usually not used.
• Fairly high-end processor as it is mostly geared toward handheld devices like PDAs.
• The SA-1100 model has a 32-bit Reduced Instruction Set Computer (RISC) core,
running at up to 206 MHz
Atmel AT mega
Memory:
• Flash memory can also serve as intermediate storage of data in case RAM is
insufficient or when the power supply of RAM should be shut down for some time.
• Flash memory take long read and write delays and energy required is high.
SENSORS:
The actual interface to the physical world: devices that can observe or control physical
parameters of the environment
Active sensors
• This last group of sensors actively probes the environment, for example, a sonar or
radar sensor or some types of seismic sensors, which generate shock waves by small
explosions.
• It requires quite special attention.
Actuators
Actuators are just about as diverse as sensors, yet for the purposes of designing a WSN that
converts electrical signals into physical phenomenon. It controls
Communication Device
Choice of transmission medium:
• The communication device is used to exchange data between individual nodes.
• Other media like magnetic inductance are only used in very specific cases.
Radio Frequency (RF) - based communication is by far the most relevant one as it best fits
the requirements of most WSN applications.
Transceivers: For Communication, both transmitter and receiver are required in a sensor
node to convert a bit stream coming from a microcontroller and convert them to and from
radio waves.
For two tasks a combined device called transceiver is used. Transceiver structure has two
parts as Radio Frequency (RF) front end (Figure) and the baseband part.
A) The radio frequency front end performs analog signal processing in the actual radio
frequency Band.
B) The baseband processor performs all signal processing in the digital domain and
communicates with a sensor node’s processor or other digital circuitry.
The RF front end performs analog signal processing in the actual radio frequency band, for
example in the 2.4 GHz Industrial, Scientific, and Medical (ISM) band.
The Power Amplifier (PA): It accepts upconverted signals from the IF or baseband part and
amplifies them for transmission over the antenna.
The Low Noise Amplifier (LNA): It amplifies incoming signals up to levels suitable for
further processing without significantly reducing the SNR.The range of powers of the
incoming signals may varies up to 100 dB .The LNA is active all the time and can consume a
significant fraction of the transceiver’s energy
Elements like local oscillators or voltage-controlled oscillators and mixers, are used for
frequency conversion from the RF spectrum to intermediate frequencies or to the baseband.
The incoming signal at RF frequencies fRF is multiplied in a mixer with a fixed frequency
signal from the local oscillator (frequency fLO). The resulting intermediate frequency signal
has frequency fLO − fRF. Depending on the RF front end architecture, other elements like
filters are also present.
Transceiver operational states
Many transceivers have four operational states
Transmit
• In the transmit state, the transmit part of the transceiver is active and the antenna
radiates energy.
Receive
• In the receive state the receive part is active.
Idle
• A transceiver that is ready to receive but is not currently receiving anything is said to
be in an idle state.
Sleep
In the sleep state, significant parts of the transceiver are switched off.
• IEEE 802.11 transceivers have different sleep states.
• These sleep states differ in the amount of circuitry switched off and in the associated
recovery times and startup energy
• For example, in a complete power down of the transceiver, the startup costs include a
complete initialization, whereas in “lighter” sleep modes, the clock driving certain
transceiver parts is shut down while configuration and operational state is
remembered
Service to upper layer: A receiver has to offer certain services to the upper layers, most
notably to the Medium Access Control (MAC) layer. Sometimes, this service is packet
oriented; sometimes, a transceiver only provides a byte interface or even only a bit interface
to the microcontroller.
Power consumption and energy efficiency: The simplest interpretation of energy efficiency
is the energy required to transmit and receive a single bit. The transceivers should be
switchable between different states, for example, active and sleeping.
Carrier frequency and multiple channels: Transceivers are available for different carrier
frequencies; evidently, it must match application requirements and regulatory restrictions.
State change times and energy: A transceiver can operate in different modes: sending or
receiving, use different channels, or be in different power- safe states.
Data rates: Carrier frequency and used bandwidth together with modulation and coding
determine the gross data rate.
Modulations: The transceivers typically support one or several of on/off- keying, ASK, FSK,
or similar modulations.
Gain: The gain is the ratio of the output signal power to the input signal power and is
typically given in dB. Amplifiers with high gain are desirable to achieve good energy
efficiency.
Power efficiency: The efficiency of the radio front end is given as the ratio of the radiated
power to the overall power consumed by the front end; for a power amplifier, the efficiency
describes the ratio of the output signal’s power to the power consumed by the overall power
amplifier.
Receiver sensitivity: The receiver sensitivity (given in dBm) specifies the minimum signal
power at the receiver needed to achieve a prescribed Eb/N0 or a prescribed bit/packet error
rate.
Blocking performance: The blocking performance of a receiver is its achieved bit error rate
in the presence of an interferer.
Out of band emission: The inverse to adjacent channel suppression is the out of band
emission of a transmitter. To limit disturbance of other systems, or of the WSN itself in a
multichannel setup, the transmitter should produce as little as possible of transmission power
outside of its prescribed bandwidth, centered around the carrier frequency.
Carrier sense and RSSI: In many medium access control protocols, sensing whether the
wireless channel, the carrier, is busy (another node is transmitting) is a critical information.
The receiver has to be able to provide that information. The signal strength at which an
incoming data packet has been received can provide useful information a receiver has to
provide this information in the Received Signal Strength Indicator (RSSI).
• Frequency stability: The frequency stability denotes the degree of variation
from nominal center frequencies when environmental conditions of oscillators
like temperature or pressure change.
# Storing Energy
# Energy Scavenging
Table Energy densities for various primary and secondary battery types
Capacity under load: They should withstand various usage patterns as a sensor node can
consume quite different levels of power over time and actually draw high current in certain
operation modes.
Self-discharge: Their self-discharge should be low. Zinc-air batteries, for example, have only
a very short lifetime (on the order of weeks).
Efficient recharging: Recharging should be efficient even at low and intermittently available
recharge power.
DC–DC Conversion: Unfortunately, batteries alone are not sufficient as a direct power
source for a sensor node. One typical problem is the reduction of a battery’s voltage as its
capacity drops. A DC – DC converter can be used to overcome this problem by regulating the
voltage delivered to the node’s circuitry.
To ensure a constant voltage even though the battery’s supply voltage drops, the DC – DC
converter has to draw increasingly higher current from the battery when the battery is already
becoming weak, speeding up battery death. The DC – DC converter does consume energy for
its own operation, reducing overall efficiency.
Energy Scavenging
Depending on application, high capacity batteries that last for long times, that is, have only a
negligible self-discharge rate, and that can efficiently provide small amounts of current.
Ideally, a sensor node also has a device for energy scavenging, recharging the battery with
energy gathered from the environment – solar cells or vibration-based power generation are
conceivable options.
Photovoltaics: The well-known 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 and
whether for outdoor usage. The resulting power is somewhere between 10 μW/cm2 indoors
and 15 mW/cm2 outdoors. Single cells achieve a fairly stable output voltage of about 0.6 V
which depends on the light intensity. Hence, solar cells are usually used to recharge
secondary batteries.
Pressure variations: Somewhat similar to vibrations, a variation of pressure can also be used
as a power source.
Flow of air/liquid: Another often-used power source is the flow of air or liquid in wind mills
or turbines. The challenge here is again the miniaturization, but some of the work on
millimeter scale MEMS gas turbines might be reusable.
Table : Comparison of Energy Sources
• Energy efficiency is the key requirement to maximize sensor node lifetime. Sensor
nodes are typically powered by a battery source that has finite lifetime.
• Hence, the energy consumption of a sensor node must be tightly controlled. The main
consumers of energy are the controller, the radio front ends, the memory, and type of
the sensors.
• Second method for energy efficiency in wireless sensor node is reduced functionality
by using multiple states of operation with reduced energy consumption. These modes
can be introduced for all components of a sensor node, in particular, for controller,
radio front end, memory, and sensors.
• But if it remains active and the next event occurs at time tevent, then a total energy is
Eactive=Pactive (tevent − t1).
• On the other hand, requires a time τdown until sleep mode has been reached. Let the
average power consumption during this phase is (Pactive + Psleep)/2. Then, Psleep is
consumed until tevent.
• The energy saving is given by
• Esaved = (tevent − t1)Pactive − (τdown (Pactive + Psleep)/2 +(tevent − t1 − τdown )Psleep)
• Once the event to be processed occurs, however, an additional overhead of
Eoverhead = τUp (Pactive + Psleep)/2
• Switching to a sleep mode is only beneficial if Eoverhead < Esaved or, equivalently,
if the time to the next event is sufficiently large:
Examples:
In normal mode, all parts of the processor are fully powered. Power consumption is up to
400 mW.
In 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.
In 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 to 50 μW.
2. Texas Instruments MSP 430 : The MSP430 family features a wider range of operation
modes: One fully operational mode, which consumes about 1.2 mW (all power values given
at 1 MHz and 3 V). There are four sleep modes in total. The deepest sleep mode, LPM4, only
consumes 0.3 μW, but the controller is only woken up by external interrupts in this mode. In
the next higher mode, LPM3, a clock is also till running, which can be used for scheduled
wake ups, and still consumes only about 6 μW.
3. Atmel ATmega : The Atmel ATmega 128L has six different modes of power
consumption, which are in principle similar to the MSP 430 but differ in some details. Its
power consumption varies between 6 mW and 15 mW in idle and active modes and is about
75 μW in power-down modes.
• Hence, the most relevant part is FLASH memory. In fact, the construction and usage
of FLASH memory can heavily influence node lifetime. The relevant metrics are the
read and write times and energy consumption. Read times and read energy
consumption tend to be quite similar between different types of FLASH memory.
Energy consumption necessary for reading and writing to the Flash memory is used
on the Mica nodes. Hence, writing to FLASH memory can be a time- and energy-
consuming task that is best avoided if somehow possible.
• To accommodate the necessary low total energy consumption, the transceivers should
be turned off most of the time and only be activated when necessary – they work at a
low duty cycle.
• The energy consumed by a transmitter is due to two sources one part is due to RF
signal generation, which mostly depends on chosen modulation and target distance.
Second part is due to electronic components necessary for frequency synthesis,
frequency conversion, filters, and so on.
• The transmitted power is generated by the amplifier of a transmitter. Its own power
consumption Pamp depends on its architecture Pamp = αamp + βampPtx, where αamp
and βamp are constants depending on process technology and amplifier architecture.
• This model implies that the amplifier’s efficiency η =Ptx/Pamp is best at maximum
output power
• The energy to transmit a packet n-bits long (including all headers) then depends on
how long it takes to send the packet, determined by the nominal bit rate R and the
coding rate Rcode, and on the total consumed power during transmission.
• Similar to the transmitter, the receiver can be either turned off or turned on. While
being turned on, it can either actively receive a packet or can be idle, observing the
channel and ready to receive. Evidently, the power consumption while it is turned off
is negligible.
• Even the difference between idling and actually receiving is very small and can, for
most purposes, be assumed to be zero. To elucidate, the energy Ercvd required to
receive a packet has a startup component Tstart Pstart similar to the transmission case
when the receiver had been turned off (startup times are considered equal for
transmission and receiving here); it also has a component that is proportional to the
packet time n / RRcode.
• During this time of actual reception, receiver circuitry has to be powered up, requiring
a (more or less constant) power of PrxElec.
• For example, passive light or temperature sensors – the power consumption can
possibly be ignored in comparison to other devices on a wireless node. For others,
active devices like sonar, power consumption can be quite considerable in the
dimensioning of power sources on the sensor node, not to overstress batteries.
• In addition, the sampling rate evidently is quite important. Not only does more
frequent sampling require more energy for the sensors as such but also the data has to
processed and, possibly,communicated somewhere.
A source is any entity in the network that can provide information, that is, typically a sensor
node
• For the second case, the sink could be an actual device - a handheld or PDA used to
interact with the sensor network.
• For the third case -It could also be gateway to another larger network such as the
Internet where the actual request for the information comes from some node.
Direct communication between source and sink is not always possible in WSNs.Why?
To overcome such limited distances, the data packets take multi hops from the source to the
sink.
• Multihop is a solution for obstacles and large distance problem
• Source send packets to the intermediate nodes and the intermediate nodes send the
packets to the destination.
• When targeting for a constant SNR at all receivers , the radiated energy required for
direct communication over a distance d is c *d^α (c some constant, α ≥ 2 the path loss
coefficient)
• But this calculation considers only the radiated energy, not the actually consumed
energy
• Energy is actually wasted if intermediate relays are used for short distances d.
• Only for large d does the radiated energy dominate the fixed energy costs consumed
in transmitter and receiver electronics
Node mobility
• Trade-offs between the speed of node movement and the energy required to maintain
a desired level of functionality in the network
Sink mobility
• For example, a human user requested information via a PDA while walking in an
intelligent building.
In a simple case, such a requester can interact with the WSN at one point and
• Whether the requester is allowed interactions with any node or only with specific
nodes is a design choice for the appropriate protocol layers.
• The network with the assistance of the mobile requester should make the requested
data reaches the requester despite its movements
•
Event mobility
• In applications like event detection and in particular in tracking applications, the
cause of the events or the objects to be tracked can be mobile.
• Hence, sensors will wake up around the object, engaged in higher activity to observe
the present object, and then go back to sleep.
• Nodes that do not actively detect anything are intended to switch to lower sleep
states
• Nodes become active only when elephant is near by and they will convey information
from the zone of activity to some remote sink
Event mobility
Dashed line -Elephant’s trajectory
Shaded ellipse- the activity area following the elephant
For all WSN scenarios and application types have to face the challenges such as
• How to optimize a network and How to compare these solutions?
• How to decide which approach is better?
• How to turn relatively inaccurate optimization goals into measurable figures of merit?
For all the above questions the general answer is obtained from
1. Quality of service
2. Energy efficiency
3. Scalability
4. Robustness
1.Quality of Service:
• WSNs differ from other conventional communication networks mainly in the type of
service they offer.
• High-level QoS attributes in WSN are highly depend on the application.
• Some generic possibilities are:
Event detection/reporting probability
Event classification error
Event detection delay Missing reports
Approximation accuracy
Tracking accuracy
Event detection/reporting probability: The probability that an event that actually occurred
is not detected or not reported to an information sink that is interested in such an event For
example, not reporting a fire alarm to a surveillance station would be a severe shortcoming.
Approximation accuracy:
For function approximation applications, the average/maximum absolute or relative error
with respect to the actual function should be considered.
Tracking accuracy
• Tracking applications must not miss an object to be tracked, the reported position
should be as close to the real position as possible, and the error should be small.
2.Energy efficiency:
• Energy is a precious resource in WSN and hence it is an optimization goal.
• If amount of energy increases, most of the QoS metrics also increases
•
• Energy per correctly received bit: How much energy is spent on average to
transport one bit of information (payload) from the transmitter to the receiver.
• Energy per reported (unique) event: What is the average energy spent to report one
event.
• Time to first node death- Time taken by the first node in the network to run out of
energy or fail and stop operating.
• Network half-life – Time taken by 50% of the nodes to run out of energy and
stopped operating
• Time to loss of coverage: The time when for the first time any spot in the
deployment region is no longer covered by any node’s observations.
• The longer these times are, the better does a network perform.
3.Scalability:
• The ability to maintain performance characteristics irrespective of the size of the
network is referred to as scalability. With WSN potentially consisting of thousands of
nodes, scalability is an obviously essential requirement.
• The need for extreme scalability has direct consequences for the protocol design.
• Architectures and protocols should implement appropriate scalability support.
• Applications with a few dozen nodes might admit more efficient solutions than
applications with thousands of nodes
4.Robustness:
• Wireless sensor networks should also exhibit an appropriate robustness.
• They should not fail just because a limited number of nodes run out of energy, or
because their environment changes and severs existing radio links between two nodes
• If possible, these failures have to be compensated by finding other routes.
• Evaluation of robustness is difficult in practice and depends mostly on failure models
for both nodes and communication links.