MATRUSRI ENGINEERING COLLEGE�(An Autonomous Institution)�DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING
SUBJECT NAME: WIRELESS SENSOR NETWORKS(PE 518 EC)
FACULTY NAME: Dr. M.NARESH
MATRUSRI
ENGINEERING COLLEGE
WIRELESS SENSOR NETWORKS(PE 518 EC)
COURSE OBJECTIVES:
COURSE OUTCOMES:
MATRUSRI
ENGINEERING COLLEGE
LESSON PLAN:
UNIT –II: Architectures
MATRUSRI
ENGINEERING COLLEGE
S. No. | Topic(S) | No. of Hrs | Relevant COs | Text Book/ Reference Book |
1. | Single-Node Architecture - Hardware Components, | 1 | CO2 | T1 |
2. | Energy Consumption of Sensor Nodes, | 2 | CO2 | T1 |
3. | Operating Systems and | 1 | CO2 | T1 |
4. | Execution Environments Network Architecture - Sensor Network Scenarios, | 1 | CO2 | T1 |
5. | Optimization Goals and Figures of Merit, Gateway Concepts. | 1 | CO2 | T1 |
| TOTAL | 06 | | |
INTRODUCTION:�
UNIT-II: Architectures
OUTCOMES:
Build foundation for WSN by presenting challenges of wireless networking at various protocol layers
MATRUSRI
ENGINEERING COLLEGE
A Wireless Sensor Network is one kind of wireless network includes a large number of circulating, self-directed, minute, low powered devices named sensor nodes called motes.
These networks certainly cover a huge number of spatially distributed, little, battery-operated, embedded devices that are networked to caringly collect, process, and transfer data to the operators, and it has controlled the capabilities of computing & processing. Nodes are the tiny computers, which work jointly to form the networks.
CONTENTS:� 2.1. SINGLE-NODE ARCHITECTURE - HARDWARE COMPONENTS,� 2.2. ENERGY CONSUMPTION OF SENSOR NODES,� 2.3. OPERATING SYSTEMS AND EXECUTION ENVIRONMENTS � 2.4. NETWORK ARCHITECTURE - SENSOR NETWORK SCENARIOS, � 2.5. OPTIMIZATION GOALS AND FIGURES OF MERIT, GATEWAY CONCEPTS.�
OUTCOMES
Build foundation for WSN by presenting challenges of wireless networking at various protocol layers
UNIT-II: Architectures
MATRUSRI
ENGINEERING COLLEGE
CONTENTS:� 2.1. SINGLE-NODE ARCHITECTURE - HARDWARE COMPONENTS,��
OUTCOMES:
Study about architectures of wireless sensor networks
MODULE-I
MATRUSRI
ENGINEERING COLLEGE
�
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
.
control physical parameters of the environment.
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Power supply As usually no tethered power supply is available, some forms of batteries are necessary to provide energy. Sometimes, some form of recharging by obtaining energy from the environment is available as well (e.g. solar cells).
Each of these components has to operate balancing the trade-off between as small an energy consumption as possible on the one hand and the need to ful-fil their tasks on the other hand.
For example, both the communication device and the controller should be turned off as long as possible.
�
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
�
Hardware Components:
- Passive omni- directional sensors
- Passive narrow- beam sensors
- Active sensors
- Actuators
Memory
The memory component is fairly straightforward. Evidently, there is a need for Random Access Memory (RAM) to store intermediate sensor readings, packets from other nodes, and so on.
While RAM is fast, its main disadvantage is that it loses its content if power supply is interrupted. Program code can be stored in Read-Only Memory (ROM) or, more typically, in Electrically Erasable Programmable Read-Only Memory (EEPROM) or flash memory (the later being similar to EEPROM
but allowing data to be erased or written in blocks instead of only a byte at a time).
�
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Communication device:
Choice of transmission medium
Transceivers
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Transceiver tasks and characteristics
To select appropriate transceivers, a number of characteristics should be taken into account. The most important ones are:
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
A fairly common structure of transceivers is into the Radio Frequency (RF) front end and the baseband part:
• The radio frequency front end performs analog signal processing in the actual radio frequency band, whereas
• The baseband processor performs all signal processing in the digital domain and communicates with a sensor node’s processor or other digital circuitry.
. TRANSCEIVER OPERATIONAL STATES:�MANY TRANSCEIVERS CAN DISTINGUISH 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.��
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
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.
There are transceivers offering several different sleep states, see reference for a discussion of sleep states for IEEE 802.11 transceivers. These sleep states differ in the amount of circuitry switched off and in the associated recovery times and startup energy
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Sensors and actuators
Without the actual sensors and actuators, a wireless sensor network would be beside the point
entirely.
But as the discussion of possible application areas has already indicated, the possible range of sensors is vast.
It is only possible to give a rough idea on which sensors and actuators can be used in a WSN
Sensors
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Power supply of sensor nodes
For untethered wireless sensor nodes, the power supply is a crucial system component. There are essentially two aspects: First, storing energy and providing power in the required form;
second, attempting to replenish consumed energy by “scavenging” it from some node-external power source over time.
Storing power is conventionally done using batteries. As a rough orientation, a normal AA battery stores about 2.2–2.5 Ah at 1.5 V.
Storing energy: Batteries
.
2.1. Single-node architecture - hardware components
MATRUSRI
ENGINEERING COLLEGE
Energy scavenging
Some of the unconventional energy stores described above – fuel cells, micro heat engines, radioactivity
– convert energy from some stored, secondary form into electricity in a less direct and easy to use 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.
To ensure truly long-lasting nodes and wireless sensor networks, such a limited energy store is unacceptable. Rather, energy from a node’s environment must be tapped into and made available
to the node – energy scavenging should take place.
A MEMS device for converting vibrations to electrical energy, based on a variable capacitor .Reproduced by permission of IEEE
CONTENTS:� 2.2. ENERGY CONSUMPTION OF SENSOR NODES� 2.3. OPERATING SYSTEMS AND EXECUTION ENVIRONMENTS �
OUTCOMES:
To understand the concepts of energy scavenging and operating systems of WSN
MODULE-2
MATRUSRI
ENGINEERING COLLEGE
.
2.2 Energy Consumption of Sensor Nodes
MATRUSRI
ENGINEERING COLLEGE
At time t1, the decision whether or not a component (say, the microcontroller) is to be put into sleep mode should be taken to reduce power consumption from Pactive to Psleep.
If it remains active and the next event occurs at time tevent, then a total energy of Eactive = Pactive(tevent − t1) has be spent uselessly idling.
Putting the component into sleep mode, on the other hand, requires a time τdown until sleep mode has been reached; as a simplification, assume that the average power consumption during this phase is (Pactive + Psleep)/2.
Then, Psleep is consumed until tevent. In total, τdown(Pactive + Psleep)/2 + (tevent − t1 − τdown)Psleep energy is required in sleep mode as opposed to (tevent − t1)Pactive when remaining active.
.
2.2 Energy Consumption of Sensor Nodes
MATRUSRI
ENGINEERING COLLEGE
Microcontroller energy consumption
Basic power consumption in discrete operation states:
Intel Strong ARM
The Intel Strong ARM ,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.
Energy per operation with dynamic power scaling on an Intel Strong ARM SA-1100
MATRUSRI
ENGINEERING COLLEGE
2.3 Operating systems and Execution Environments
- Process-based concurrency
- Event- based programming
- Interfaces to the operating
systems
.
2.3 Operating systems and Execution Environments
MATRUSRI
ENGINEERING COLLEGE
Event based programming model:
Such an event handler can interrupt the processing of any normal code, but as it is very simple and short, it can be required to run to completion in all circumstances without noticeably disturbing other code
Event handlers cannot interrupt each other (as this would in turn require complicated stack handling procedures) but are simply executed one after each other.
CONTENTS:� 2.4. NETWORK ARCHITECTURE - SENSOR NETWORK SCENARIOS, � 2.5. OPTIMIZATION GOALS AND FIGURES OF MERIT, GATEWAY CONCEPTS �
OUTCOMES:
MODULE-3
MATRUSRI
ENGINEERING COLLEGE
To Discuss About network architecture and optimization goals with the figure of Merit Concepts
.
2.4. Network architecture - sensor network scenarios
MATRUSRI
ENGINEERING COLLEGE
Three types of sinks in a very simple single-hop sensor network
Types of Sources and sinks:
-Single hop versus Multi hop
From the basics of radio communication and the inherent power limitation of radio communication follows a limitation on the feasible distance between a sender and a receiver. Because of this limited distance, the simple, direct communication between source and sink is not always possible,
specifically in WSNs, which are intended to cover a lot of ground (e.g. in environmental or agriculture applications) or that operate in difficult radio environments with strong attenuation
.MULTI HOP NETWORK:��
2.4. Network architecture - sensor network scenarios
MATRUSRI
ENGINEERING COLLEGE
To overcome such limited distances, an obvious way out is to use relay stations, with the data packets taking multi hops from the source to the sink.
This concept of multi-hop networks is particularly attractive for WSNs as the sensor nodes themselves can act as such relay nodes, foregoing the need for additional equipment
Depending on the particular application, the likelihood of having an intermediate sensor node at the right place can actually be quite high
.
2.4. Network architecture - sensor network scenarios
MATRUSRI
ENGINEERING COLLEGE
Multiple sources and/or multiple sinks
In many cases, there are multiple sources and/or multiple sinks present. In the most challenging case, multiple sources should send information to multiple sinks, where either all or some of the information has to reach all or some of the sinks. Figure illustrates these combinations.
.
2.4. Network architecture - sensor network scenarios
MATRUSRI
ENGINEERING COLLEGE
Three types of Mobility
Communication protocols for WSNs will have to render appropriate support for these forms of
mobility.
In particular, event mobility is quite uncommon, compared to previous forms of mobile
or wireless networks.
A mobile sinks moves through a mobile sensor network as a information being retrieves on its behalf
.
2.5. Optimization goals and figures of merit, gateway concepts
MATRUSRI
ENGINEERING COLLEGE
For all these scenarios and application types, different forms of networking solutions can be found.
The challenging question is how to optimize a network, how to compare these solutions, how to decide which approach better supports a given application, and how to turn relatively imprecise optimizing goals into measurable figures of merit? While a general answer appears impossible considering the large variety of possible applications, a few aspects are fairly evident
- Event detection/reporting probability
- Event classification error
- Event detection delay
- Missing reports
- Approximation accuracy
- Tracking accuracy
2. Energy efficiency
- Energy/correctly received
- Energy/reported event
- Delay
- N/w Life time
3. Scalability
4. Robustness
MATRUSRI
ENGINEERING COLLEGE
Area of sensor nodes detecting an event-an elephant-that moves through the network along with the event source
2.5. Optimization goals and figures of merit, gateway concepts
MATRUSRI
ENGINEERING COLLEGE
2.5. Optimization goals and figures of merit, gateway concepts
Need for Gate ways
For practical deployment, a sensor network only concerned with itself is insufficient. The network rather has to be able to interact with other information devices,
for example, a user equipped with a PDA moving in the coverage area of the network or with a remote user, trying to interact with the sensor network via the Internet (the standard example is to read the temperature sensors in one’s home while traveling and accessing the Internet via a wireless connection). Figure shows this networking scenario.
.
2.5. Optimization goals and figures of merit, gateway concepts
MATRUSRI
ENGINEERING COLLEGE
1. WSN to Internet communication
A sensor node wants to deliver an alarm message to some Internet host.
The first problem to solve is akin to ad hoc networks, namely, how to find the gateway from within the network.
Basically, a routing problem to a node that offers a specific service has to be solved, integrating routing and service discovery
.
2.5. Optimization goals and figures of merit, gateway concepts
MATRUSRI
ENGINEERING COLLEGE
2. Internet to WSN communication
The case of an Internet-based entity trying to access services of a WSN is even more challenging .
This is fairly simple if this requesting terminal is able to directly communicate with the WSN, for example, a mobile requester equipped with a WSN transceiver, and also has all the necessary protocol components at its disposal
In this case, the requesting terminal can be a direct part of the WSN and no particular treatment is necessary
.
2.5. Optimization goals and figures of merit, gateway concepts
MATRUSRI
ENGINEERING COLLEGE
3. WSN tunneling
In addition to these scenarios describing actual interactions between a WSN and Internet terminals, the gateways can also act as simple extensions of one WSN to another WSN.
The idea is to build a larger, “virtual” WSN out of separate parts, transparently “tunneling” all protocol messages between
these two networks and simply using the Internet as a transport network.
This can be attractive, but care has to be taken not to confuse the virtual link between two gateway
nodes with a real link; otherwise, protocols that rely on physical properties of a communication
link can get quite confused.
.�
Assignment Question
MATRUSRI
ENGINEERING COLLEGE
Short answer questions
MATRUSRI
ENGINEERING COLLEGE
Questions & Answers
S.NO | QUESTION | Blooms Taxonomy Level | Course Outcome |
1. | What is the difference between single hop and multi-hop networks? | L2 | CO2 |
2. | Short notes on transceiver task in sensor node architecture? | L2 | CO2 |
3. | Explaining about programming challenge? | L2 | CO2 |
4. | List of routing protocols | L1 | CO2 |
5. | What is the need of gate way concepts | L2 | CO2 |
Questions & Answers
MATRUSRI
ENGINEERING COLLEGE
S.NO | QUESTION | Blooms Taxonomy Level | Course Outcome |
1. | Explain network architecture and sensor network scenarios. | L4 | CO2 |
2. | Explain about Gateway concepts. | L3 | CO2 |
3. | Elaborate on Energy scavenging techniques for sensor node | L4 | CO2 |
4. | Discuss about Optimization goals and Figure of merit | L4 | CO2 |
5. | | L2 | CO2 |
Long answer questions