←Back to Subject
Notes
Notes
Study material and explanations
Diagrams
Diagrams
Visualize concepts easily
Mnemonics
Mnemonics
Tricks to remember faster
One Night Prep
One Night Prep
Short and focused revision
Revision
Revision
Quick summary and key points
Important Questions
Important Questions
Practice most relevant questions
Notes

Wireless Sensor Networks (WSN): Architecture & Protocols

Study material and explanations for Unit 4

Wireless Sensor Networks (WSN): Architecture & Protocols

1. What is a Wireless Sensor Network (WSN)? (In Simple Words)

Imagine placing hundreds of small battery-operated sensor devices across a large forest, a railway track, or a 50-acre farm in Madhya Pradesh.

Each device reads physical conditions like temperature, soil moisture, smoke, or ground vibration. But these tiny sensors cannot each have their own 4G SIM card or Wi-Fi router.

Instead, they talk to each other wirelessly and pass data hop-by-hop (like a relay race) until it reaches a central computer called the Base Station (or Sink Node), which is connected to the Internet or Cloud!

This group of connected, collaborating sensor nodes is called a Wireless Sensor Network (WSN).

WSN Mesh Routing to Base Station
Distributed Sensor Nodes
Spread across fields, forests, or factories
── Multi-hop ──▶
Cluster Head / Router
Collects, combines, and summarizes sensor data
── Radio Link ──▶
Base Station (Sink)
Internet Gateway connecting to Cloud & Dashboards

2. Hardware Architecture of a WSN Sensor Node

Every tiny sensor node (often called a mote) has four main hardware parts:

Hardware Subsystems of a Sensor Node
1. Sensing Subsystem
Physical sensor + ADC (Analog-to-Digital Converter) to convert physical phenomena into digital numbers.
2. Processing Subsystem
Low-power microcontroller (MCU) with internal RAM and flash memory to run software and process data.
3. Transceiver Subsystem
Short-range RF radio module (such as Zigbee / IEEE 802.15.4) to transmit and receive wireless packets.
4. Power Subsystem
Small battery (AA or coin cell) or small solar panel that powers all components under strict energy limits.

3. Network Topologies in WSN

Topology Structure Advantages Disadvantages
Star Topology Every sensor node connects directly to the Base Station Simple, low latency for nearby nodes Nodes far away drain their batteries quickly trying to reach the base station
Mesh Topology Nodes forward packets for each other across multiple hops Self-healing; covers very large physical areas Complex routing logic; uses more memory
Cluster-Tree Topology Nodes form local groups led by a designated Cluster Head (CH) Highly scalable; saves battery by combining data If a Cluster Head fails, its local group loses connection

4. The LEACH Protocol (Low-Energy Adaptive Clustering Hierarchy)

In a WSN, the component that uses the most battery power is the wireless radio transmitter — especially when transmitting over long distances to a distant base station.

LEACH is a very popular protocol designed to save battery by dividing nodes into Clusters led by Cluster Heads (CHs):

[ Sensor Node A ] ───┐
[ Sensor Node B ] ───┼──▶ [ Cluster Head 1 ] ───────┐
[ Sensor Node C ] ───┘    (Combines all data)       │
                                                    ▼
                                            [ Base Station / Sink ]
                                                    ▲
[ Sensor Node D ] ───┐                              │
[ Sensor Node E ] ───┼──▶ [ Cluster Head 2 ] ───────┘
[ Sensor Node F ] ───┘    (Combines all data)

How LEACH Works (Two Phases per Round):

  1. Setup Phase:
    • A few nodes randomly elect themselves as Cluster Heads.
    • Normal nodes join the nearest Cluster Head based on radio signal strength.
    • The Cluster Head gives each member node a specific time slot (TDMA) to transmit its reading.
  2. Steady-State Phase:
    • Member nodes wake up only during their personal time slot, send their reading to the Cluster Head, and immediately go back to sleep!
    • The Cluster Head collects all readings, averages them (removes repeated readings), and sends one single consolidated packet to the distant Base Station.
  3. Randomized Rotation: In the next round, different nodes take turns becoming Cluster Heads! This ensures no single node exhausts its battery and dies early.

5. Main Technical Challenges in WSN

  1. Strict Battery Limits: Nodes run on tiny batteries in forests or oceans where changing batteries is physically impossible.
  2. Self-Healing Networks: If a sensor node gets destroyed by weather or runs out of battery, the rest of the network must find a new path automatically.
  3. Low Memory & Slow CPU: Microcontrollers only have a few kilobytes of memory, requiring very lightweight software.
  4. Wireless Collisions: When hundreds of nodes transmit at once on the same frequency, packets collide in the air and get lost.

6. Real-World Applications of WSN

  1. Smart Agriculture: Hundreds of soil sensors measure moisture and pH across farm fields to automate drip irrigation and save water.
  2. Forest Fire Detection: Temperature and smoke sensors dropped across forest areas detect rising heat and sound alerts before fires spread out of control.
  3. Bridge & Dam Safety: Vibration sensors placed on flyovers, railway bridges, and dams detect microscopic cracks before catastrophic collapses occur.
  4. Flood Warning: Water level sensors along riverbanks alert disaster response teams hours before flash floods hit towns.

💡 DAVV Exam Preparation Tips

5-Mark Question: “Draw and explain the block diagram of a WSN sensor node.”

  • Draw the 4 core boxes:
    1. Sensing Subsystem (Sensor + ADC)
    2. Processing Subsystem (Microcontroller + Memory)
    3. Transceiver Subsystem (Radio RF module)
    4. Power Subsystem (Battery / Solar cell).
  • Write 1-2 lines explaining each box.

5-Mark Question: “Explain the role of Cluster Heads in Wireless Sensor Networks.”

  • Definition: A leader node in a local cluster of sensors.
  • Responsibilities: Receives data from nearby member nodes, performs data aggregation (averaging/removing duplicates), and transmits one consolidated packet to the far Base Station.
  • Benefit: Saves battery for normal member nodes and extends the total network lifetime.

10-Mark Question: “Explain the LEACH protocol in Wireless Sensor Networks. Describe its setup phase, steady-state phase, and advantages over direct communication.”

  • Define LEACH (Low-Energy Adaptive Clustering Hierarchy).
  • Draw the cluster diagram showing normal nodes, Cluster Heads, and the Base Station.
  • Explain the two phases: Setup Phase (electing Cluster Heads, creating TDMA schedule) and Steady-State Phase (sending in assigned time slots, data aggregation).
  • Highlight Randomized Rotation: Why rotating the Cluster Head role prevents any single node’s battery from dying first.
  • Mention real-world WSN applications (forest fire detection, smart farming).