Untitled Document
Untitled Document
Networks)
QoS Requirements L ow delay, jitter for voice, Event-driven reliability, energy-aware QoS
reliability
Node Importance E ach node is important and S ingle node failure is tolerable due to
powerful redundancy
Software Design Complex layers (e.g., TCP/IP stack) Lightweight, energy-optimized stack
Purpose Industrial control (real-time control loops) onitoring and control (less strict
M
real-time)
Real-time Needs Very strict (millisecond precision) L ooser timing, tolerates some
delays
etwork Layers
N nly layers 1 (physical), 2 (data link), and 7
O ses more layers, but simpler
U
Used (application) design
🌟
Enabling Technologies for Wireless Sensor Networks (WSNs) –
Simple Notes
ireless Sensor Networks became possible only because ofmany new technologies. Let’s understand
W
them one by one:
🔹 1. Miniaturization of Hardware
● Now, chips (processors and memory) have becomeverysmall and cheap.
● Small size = less power = perfect for sensor nodes.
🔹 2. Sensors
● It’s hard to say one type fits all — depends on theapplication.
WSN nodes don’t just need hardware — they also needsmart, light softwareto control how they work.
✅ b) Network Architecture
✅ c) Communication Protocols
📝 Simple Summary:
Technology Why it’s important
Everysensor nodein a Wireless Sensor Network (WSN)is like a mini computer. It has 5 main parts:
✅ 1. Controller
● It runs programs, processes data, makes decisions (like when to send data).
✅ 2. Memory
● Stores sensor data temporarily (RAM) and stores programs (Flash or EEPROM).
✅ 4. Communication Device
✅ 5. Power Supply
● Some nodes also usesolar panelsorvibration-based chargingto get extra energy.
⚙️ Important Concepts
● Energy saving is critical– turn off parts (like thecontroller or radio) when not needed.
● Some sensorswake up the nodeonly when an event occurs(e.g., motion detected).
Types of Controllers:
SP (Digital Signal
D Rarely used in WSNs ood for heavy signal
G verkill, uses more
O
Processor) processing power
FPGA Used in specific cases Reconfigurable S lower to update,
more complex
○ 8-bit, very commonly used, easy to program, used in many WSN projects
🔶 2.1.3 Memory
RAM Temporary data (sensor readings, messages) F ast, but loses data if power goes
off
Flash Memory Store program code and backup data S low, but retains data without
power
EEPROM S imilar to Flash, but slower and erased byte by Less used today
byte
✅ Important:
● M
emory must bejust enough– not too much (wastesenergy and cost), not too little (can’t run
properly).
🧠 Summary:
● A
sensor nodeis made of 5 key parts: controller, memory, sensors/actuators, communication
device, and power.
● Microcontrollersare mostly used for WSNs due to lowpower and flexibility.
● Memoryincludes RAM for fast storage and Flash forlong-term storage.
● The whole system must bedesigned for low energy useandreliability.
bsolutely, Jaya! Let me now give you a better, clearer, and more structured explanation of
A
Communication Devices in Wireless Sensor Networks, especially focusing on transceiver operation,
states, advanced types, and examples, in a way that's easier to remember and ideal for writing
detailed answers in your exam.
● It’s the part of the sensor node responsible for sending and receiving data wirelessly.
● This is what turns individual nodes into a network so they can communicate.
● Most WSNs use wireless RF (Radio Frequency) communication because it:
Optical (like IR or LED) ❌ Not preferred Needs direct visibility, affected by
weather
📝 Conclusion: RF is best suited for most WSNs due to its reliability, range, and low energy use.
📻 Transceivers in WSNs
● A transceiver = Transmitter + Receiver
● Used to convert data (bits or bytes) into radio signals and vice versa.
● Usually half-duplex: cannot send and receive at the same time.
● The RF front end processes real-world analog signals (radio waves).
Transmission Power Lets the node adjust how strongly it sends signals to save
Control energy
📝 Smart WSN software switches between these states to balance energy and performance.
⚠️ Switching itself also uses power, so the transitions must be managed carefully.
🚀 Advanced Radio Concepts
✅ 1. Wake-Up Radio
● A small, always-on radio that only listens for wake-up signals.
● Advantages:
Optical LED, laser Works if line-of-sight is available. Very low power. Example:
corner cube reflectors.
✅ 4. Non-Radio Communication
Transceiver Features
RFM TR1000 916 MHz band, low power, used in Mica motes
Chipcon CC2420 First to support IEEE 802.15.4 (ZigBee), works at 2.4 GHz, data rate =
250 kbps
transceiver can be in one of four states: transmit, receive, idle, or sleep, with sleep
A
being the most energy-efficient.
ew technologies like wake-up radios help save power by only activating the transceiver
N
when needed. Other advanced options include UWB and spread-spectrum
communication, though they are not widely used yet due to cost.
opular transceivers used in real WSN projects include TR1000, CC1000, CC2420, and
P
TDA5250, each optimized for different needs like range, power, and modulation.
Sensors are the"eyes and ears"of a WSN. They collectdata from the environment, like:
● Temperature
● Light
● Sound
● Vibration
● Chemicals
🔹 Types of Sensors
✅
Passive, onotsend signals; they just
D T hermometer, mic, light
Omnidirectional sense. Work in all directions. sensor, vibration sensor
✅
Passive, S ense only in aspecific Camera
Narrow-Beam direction.
✅
Active ctivelyprobethe
A adar, sonar, seismic
R
Sensors environment. sensors
📝
Most WSNs usepassive, omnidirectionalsensorsbecause they are simple and
energy-efficient.
● For example: temperature changes slowly, so one sensor can cover several meters.
🔷 What Are Actuators?
● They allow the node toperform an actionin the realworld — like:
✅
Good Practice: Always use asensor + actuator pair.Example: If temperature rises, the actuator
starts a fan.
atter
B Recharg Example
y Type eable?
rimar
P ❌ No Zinc-air, Alkaline
y
Battery E nergy
(J/cm³)
Zinc-air 3780
L ithium 2880
(primary)
Alkaline 1200
L ithium 1080
(rechargeable)
● As battery voltage drops, the node might not get enough power.
🌡️
Thermal (Seebeck ses temperature
U ~80 µW/cm²
effect) difference
📝 These scavenging methods often need abattery tostore the powerthey generate over time.
Vibration achines,
M Depends on motion
buildings
T hermoel ot/cold
H eeds temperature
N
ectric areas difference
uman-p
H earable
W Small power only
owered WSNs
● So, like the controller, we need alow duty cycle– keep itoff as much as possibleto save power.
✅ Key Points
🔹 Transmit Mode:
● S imilar to controller: You knowwhen you want to send,so you canturn it on only when
needed.
🔹 Receive Mode:
● Harder to managebecause:
○ You must depend onremote nodesandMAC protocolsto decidewhen to wake up.
🧠 Example:
This means:
● Use:
○ Compression
○ Aggregation
ommunication is far more power-hungry than computation. Hence, WSNs rely on
C
in-network processingto compute and compress databefore sending, extending battery
life and reducing network load.
📘
Operating System Challenges in Wireless Sensor Networks
(WSN)
● Protecting resources from being used incorrectly (like memory protection)
🧠
But inWSNs, we usually usemicrocontrollers—small, cheap, and power-efficient chips — which
don’t support these advanced OS features.
● WSN nodes usually runonly one application, so fullOS features aren’t needed.
● Make the systemlook like a real OS(support processes,give known APIs).
● But:
Option 2: No OS at All!
Why?
opular solutions include skipping the OS and using a simple runtime system, or using
P
specialized lightweight OSes like TinyOS.
📘 1. What is Concurrency in WSN?
oncurrency= Ability tohandle multiple tasks at the same time.
C
For example, a WSN node might:
(Repeat)
🧠Problem:
● That packet could belostbecause the radio was notchecked in time!
○ Interrupts
↳ Context switch
↳ Context switch
🔹 What is an Event?
✅ Run-to-Completion Principle
📌
Don’t do heavy processing inside the event handler.
Just:
🔸 What is a Component?
● Example: One for ADC, one for radio, one for timer, etc.
Processes Components
Expensive Lightweight
General-purpose Task-specific
🔹 Example:
● Responsive
T raditional OS methods (processes, threads) are too heavy for WSNs due to memory and
power constraints. Instead, WSNs use anevent-drivenmodel, where the system reacts to
eventslike sensor readings or radio inputs usinghandlers.
T hese handlers run to completion without interruption. Instead of full processes, TinyOS
useslightweight components, which respond to events.
✅ The Challenge:
● If you sleep too often ("greedy sleeping"), you maywaste more energyby waking up repeatedly.
● If the task has aloose deadline, run itslowertosave energy.
Some applications (e.g., sensing, math processing) don’t always needhigh accuracy.
○ Use fewer polynomial terms = faster = less accurate = less energy
✅
When more energy is available → use higher accuracy
❌
Low energy → accept lower precision