Comprehensive Study Guide for Undergraduate Communication Engineering
A Wireless Sensor Network (WSN) is a distributed network consisting of spatially distributed autonomous sensors that monitor physical or environmental conditions, such as temperature, sound, pressure, motion, or pollutants, and cooperatively pass their data through the network to a main location or sink node.
The concept of WSNs emerged from military applications in the 1970s with the Distributed Sensor Networks (DSN) program by DARPA. The modern era of WSNs began in the late 1990s with advancements in MEMS (Micro-Electro-Mechanical Systems) technology, wireless communications, and digital electronics, enabling the development of small, low-cost sensor nodes.
| Feature | Traditional Networks | Wireless Sensor Networks |
|---|---|---|
| Primary Goal | Data communication | Data gathering and processing |
| Number of Nodes | Tens to hundreds | Hundreds to thousands |
| Power Source | Unlimited (mains powered) | Limited (battery powered) |
| Node Deployment | Planned and pre-determined | Random and ad-hoc |
| Node Failure | Not tolerated | Expected and tolerated |
| Topology | Fixed infrastructure | Dynamic and changing |
A typical sensor node consists of five main components:
In flat architecture, all nodes have equal roles and responsibilities. Each node participates in routing and data forwarding. This architecture is simple but suffers from scalability issues as the network grows.
Nodes are organized into clusters with a cluster head (CH) responsible for data aggregation and communication with the sink. This reduces energy consumption and improves scalability.
Sensors convert physical phenomena into electrical signals. Common types include:
Popular microcontrollers in WSNs:
| Platform | Processor | Memory | Power | Features |
|---|---|---|---|---|
| Arduino | ATmega328P | 32KB Flash, 2KB SRAM | ~20mA active | Easy programming, large community |
| ESP32 | Dual-core Xtensa | 4MB Flash, 520KB SRAM | ~240mA (WiFi) | WiFi, Bluetooth, high performance |
| nRF52840 | ARM Cortex-M4 | 1MB Flash, 256KB RAM | ~4.6mA TX | Bluetooth 5, Thread, Zigbee |
| MSP430 | 16-bit RISC | Up to 256KB Flash | ~1mA active | Ultra-low power, popular in WSNs |
The WSN protocol stack differs from the traditional OSI model to address specific constraints:
The physical layer is responsible for:
The foundation for many WSN protocols including Zigbee, Thread, and 6LoWPAN:
Flooding: Each node broadcasts data to all neighbors. Simple but causes implosion and overlap problems.
Gossiping: Nodes randomly select one neighbor to forward data. Reduces implosion but increases latency.
Uses metadata negotiation to eliminate redundant data transmission:
Advantages: Energy efficiency, no data implosion. Disadvantages: Data advertisement overhead, not suitable for applications requiring continuous data delivery to sink.
Data-centric routing protocol:
First hierarchical routing protocol for WSNs:
Designed for time-critical applications:
Advantages: Reduces transmissions, suitable for reactive monitoring. Disadvantages: If thresholds not reached, nodes never communicate (can be solved by periodic reporting).
Uses geographic location for routing decisions:
Advantages: Stateless (no route discovery), scalable. Disadvantages: Requires location information, suboptimal paths in perimeter mode.
Protocols that consider quality of service requirements:
Designed specifically for WSNs:
Improvement over S-MAC:
Simple, low-power MAC:
Combines TDMA and CSMA:
| Protocol | Type | Energy Efficiency | Latency | Throughput | Scalability |
|---|---|---|---|---|---|
| IEEE 802.11 | Contention | Low | Low | High | Medium |
| S-MAC | Contention | High | Medium | Medium | Medium |
| T-MAC | Contention | High | Medium | Medium | Medium |
| B-MAC | Contention | Very High | High | Low | High |
| TRAMA | Scheduled | High | High | Medium | Medium |
| Z-MAC | Hybrid | Medium | Low | High | Medium |
Sensor nodes deployed throughout forests monitor temperature, humidity, and smoke levels. Early detection enables rapid response to prevent large-scale fires.
Key Requirements: Long network lifetime, outdoor ruggedness, real-time alerts
Soil moisture, temperature, and nutrient sensors help optimize irrigation and fertilization. Variable rate application reduces water usage and environmental impact.
Key Requirements: Large coverage area, low cost per node, weather resistance
Animals fitted with sensor collars transmit location and physiological data. Helps study migration patterns and endangered species behavior.
Key Requirements: Mobility support, GPS integration, long battery life
Vibration and temperature sensors monitor industrial equipment health. Predictive maintenance reduces downtime and maintenance costs.
Key Requirements: High sampling rates, real-time processing, reliability
Acoustic and pressure sensors detect leaks in oil, gas, and water pipelines. Early leak detection prevents environmental disasters.
Key Requirements: Long-distance communication, hazardous environment operation
Wearable sensors monitor vital signs (heart rate, blood pressure, ECG) continuously. Data transmitted to healthcare providers for chronic disease management.
Key Requirements: High reliability, security, patient comfort
Sensors in homes monitor elderly residents' activities and detect falls. Enables independent living while ensuring safety.
Key Requirements: Non-intrusive, privacy protection, easy installation
Magnetic or ultrasonic sensors detect parking space occupancy. Mobile apps guide drivers to available spots, reducing traffic congestion.
Accelerometers and strain gauges monitor bridges, buildings, and dams. Detects structural damage early to prevent catastrophic failures.
Smart meters and grid sensors optimize electricity distribution. Demand response and fault detection improve grid efficiency and reliability.
Acoustic and seismic sensors detect troop and vehicle movements. Unattended ground sensors provide persistent surveillance.
Sensor networks detect chemical weapons or biological agents. Rapid detection enables protective measures and medical response.
Sensor nodes typically operate on limited battery power. Energy harvesting and ultra-low-power design are active research areas. Protocols must be energy-aware at all layers.
WSNs may contain thousands of nodes. Protocols must scale efficiently without excessive overhead. Addressing and routing become challenging at large scales.
Node failures are common due to energy depletion or environmental factors. Networks must self-heal and maintain connectivity. Data redundancy and multi-path routing improve reliability.
WSNs are vulnerable to various attacks: eavesdropping, node capture, denial of service, false data injection. Limited resources make traditional security mechanisms impractical. Lightweight cryptographic protocols are needed.
Different applications have different QoS requirements (latency, reliability, bandwidth). Balancing QoS with energy efficiency is challenging.
Massive amounts of data generated need efficient storage, aggregation, and querying. In-network processing reduces communication overhead.