Node and Network Architecture.pptx
Node and Network Architecture.pptx
NODE ARCHITECTURE
AND NETWORK
ARCHITECTURE
Jothibasu M
AP(Sl.Gr) / Dept of ECE
PSGiTech
2
Introduction
•A Sensor is a device used to gather information about a physical process and
translate into electrical signals that can be processed, measured and analyzed.
3
Introduction
• Such Sensor Networks can be used for remote sensing, medical telemetry,
surveillance, monitoring, data collection etc.
4
Wireless Sensor Networks
•A typical sensor network consists of sensors, controller and a
communication system.
• If the communication system in a Sensor Network is implemented using
a Wireless protocol, then the networks are known as Wireless Sensor
Networks.
5
Wireless Sensor Networks
• According to technologists, Wireless Sensor Networks is an important
technology for the twenty first century.
6
Wireless Sensor Networks
• Elements of WSN
•A typical wireless sensor network can be divided into two elements. They
are:
• – Sensor Node
• – Network Architecture
7
Wireless Sensor Networks
8
Network Architecture
• When a large number of sensor nodes are deployed in a large area to monitor a
physical environment, the networking of these sensor nodes is equally
important.
•A sensor node in a WSN not only communicates with other sensor nodes but
also with a Base Station (BS) using wireless communication.
9
• The base station sends commands to the sensor nodes and the sensor node
perform the task by collaborating with each other.
• The sensor nodes in turn send the data back to the base station.
• A base station also acts as a gateway to other networks through the internet
• After receiving the data from the sensor nodes, a base station performs simple
data processing and sends the updated information to the user using internet.
10
11
Multi-hop Architecture
• Hence, Multi-hop network architecture is usually used.
• Instead of one single link between the sensor node and the base
station, the data is transmitted through one or more intermediate
node
12
• This can be implemented in two ways.
• In flat architecture, the base station sends commands to all the sensor nodes
but the sensor node with matching query will respond using its peer nodes via
a multi-hop path.
13
14
SINGLE-NODE ARCHITECTURE
HARDWARE COMPONENTS:
15
Sensor node Hardware components
Controller:
✔ The controller is the core of a wireless sensor node, it process all the
relevant data, capable of executing arbitrary code.
✔ It collects data from the sensors, processes this data, decides when
and where to send it, similarly receives data from other sensor nodes
and decides on the actuator’s behavior.
18
Memory:
✔ Memory is required to store programs and intermediate data; usually,
different types of memory are used for programs and data.
✔ In WSN there is a need for Random Access Memory (RAM) to store
intermediate sensor readings, packets from other nodes, and so on.
✔ 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 in
Electrically Erasable Programmable Read-Only Memory (EEPROM) or
flash memory.
✔ Flash memory is similar to EEPROM but allowing data to be erased or
written in blocks instead of only a byte at a time.
✔ The actual interface to the physical world: The devices that can
observe or control physical parameters of the environment.
20
Sensors and actuators:
✔ Actuators:
✔ Actuators are just about as diverse as sensors, yet for the purposes of
designing a WSN that converts electrical signals into physical
phenomenon.
21
Communication Device:
✔ Transceiver structure has two parts as Radio Frequency (RF) front end
and the baseband part.
▪ The Low Noise Amplifier (LNA) amplifies incoming signals up to levels suitable for
further processing without significantly reducing the SNR.
▪ 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.
RF Front end 24
structure
Communication Device: …cntd
▪ Service to upper layer: A receiver has to offer certain services to the upper
layers, mostly to the Medium Access Control (MAC) layer.
▪ Power consumption and energy efficiency: The energy required to transmit and
receive a single bit.
▪ State change times and energy: A transceiver can operate in different modes as
sending or receiving, use different channels, or be in different power-safe
states. 25
Communication Device: …cntd
▪ Data rates: Carrier frequency and used bandwidth together with modulation
and coding determine the gross data rate.
26
27
Communication Device: …cntd
▪ 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.
28
Communication Device: …cntd
29
Communication Device: …cntd
Transceiver tasks and characteristics:
30
Power supply:
31
Power supply:
☞ Traditional batteries: The power source of a sensor node is a battery, either
non-rechargeable(primary) or rechargeable(secondary).
• Capacity
• Self-discharge
• Efficient recharging
• Relaxation
• DC–DC Conversion: Unfortunately, batteries alone are not sufficient as a direct power
source for a sensor node. A DC – DC converter can be used to overcome this problem by
regulating the voltage delivered to the node’s circuitry
32
Power supply: …..cntd
Energy scavenging:
▪ Depending on application, high capacity batteries that last for long times
with negligible self-discharge rate, and that can efficiently provide small
amounts of current.
▪ For this energy scavenging is used which is the process of recharging the
battery with energy gathered from the environment like solar cells or
vibration-based power generation.
✔ The main consumers of energy are the controller, the radio front ends, the
memory, and type of the sensors.
1. Designing low-power chips is efficient for sensor nodes. But the limitation
is the benefit gained by such designs can easily be wasted when the components
are improperly operated.
34
ENERGY CONSUMPTION OF SENSOR NODES: …..cntd
Examples:
Intel StrongARM:
Atmel Atmega
Note: Power is energy divided by time. Often units of J/s (joules/second). Gives as Watts.
36
ENERGY CONSUMPTION OF SENSOR NODES: …..cntd
✔ The most relevant kinds of memory are on-chip memory and FLASH
memory.
✔ Off-chip RAM is rarely used. In fact, the power needed to drive on-chip
memory is usually included in the power consumption numbers given for the
controllers.
37
ENERGY CONSUMPTION OF SENSOR NODES: …..cntd
✔ Similar to the transmitter, the receiver can be either turned off or turned
on.
38
ENERGY CONSUMPTION OF SENSOR NODES: …..cntd
✔ For other active devices like sonar (A measuring instrument that sends
out an acoustic pulse in water and measures distances in terms of time
for the echo of the pulse to return), power consumption can be quite
considerable in the dimensioning of power sources on the sensor node,
not to overstress batteries.
39
OPERATING SYSTEMS AND EXECUTION ENVIRONMENTS:
TinyOS:
42
OPERATING SYSTEMS AND EXECUTION ENVIRONMENTS:
❖ TinyOS:
43
OPERATING SYSTEMS AND EXECUTION ENVIRONMENTS:
❖ Programming paradigms and application programming
interfaces:
Concurrent Programming:
✔ Concurrent processing is a computing model in
which multiple processors execute instructions
simultaneously for better performance.
45
Event-based programming:
✔ The system essentially waits for any event to happen, where an event typically can be
the availability of data from a sensor, the arrival of a packet, or the expiration of a
timer.
✔ Such an event is then handled by a short sequence of instructions that only stores the
fact that this event has occurred and stores the necessary information
46
47